IProfileSeoService Interface
Namespace: PTS.Modules.ProfileSeoExtension.Domain
Assembly: PTS.Modules.ProfileSeoExtension.dll
Syntax
public interface IProfileSeoService
Methods
GetSeoData(Profile)
Gets the System.Collections.Generic.List<T> for profile
.
Declaration
List<ProfileSeo> GetSeoData(Profile profile)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<ProfileSeo> | Collection of profile's seo information. |
GetSeoData(Profile, Hostname)
Gets the ProfileSeo for profile
and hostname
.
Declaration
ProfileSeo GetSeoData(Profile profile, Hostname hostname)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Hostname | hostname | The hostname. |
Returns
Type | Description |
---|---|
ProfileSeo | The profile's seo data. |
GetSeoDataAsync(Profile)
Gets the System.Collections.Generic.List<T> for profile
asynchronously.
Declaration
Task<List<ProfileSeo>> GetSeoDataAsync(Profile profile)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.List<ProfileSeo>> | Collection of profile's seo information. |
GetSeoDataAsync(Profile, Hostname)
Gets the ProfileSeo for profile
and hostname
asynchronously.
Declaration
ValueTask<ProfileSeo> GetSeoDataAsync(Profile profile, Hostname hostname)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile. |
Hostname | hostname | The hostname. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.ValueTask<ProfileSeo> | The profile's seo data. |
SetSeoData(Profile, Hostname, ISeoData)
Sets the ProfileSeo for hostname
and profile
.
Declaration
ProfileSeo SetSeoData(Profile profile, Hostname hostname, ISeoData data)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The identity. |
Hostname | hostname | The hostname. |
ISeoData | data | The data. |
Returns
Type | Description |
---|---|
ProfileSeo | The profile's seo data. |
SetSeoDataAsync(Profile, Hostname, ISeoData)
Sets the ProfileSeo for hostname
and profile
asynchronously.
Declaration
Task<ProfileSeo> SetSeoDataAsync(Profile profile, Hostname hostname, ISeoData data)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The identity. |
Hostname | hostname | The hostname. |
ISeoData | data | The data. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ProfileSeo> | The profile's seo data. |