Interface IAsset
A strongly typed entity interface for assets.
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsContent
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public interface IAsset : ITypedEntity, IEntity, IResource, IDirtyTracking
Properties
FileName
Gets or sets the filename.
Declaration
RequestResponse
string FileName { get; set; }
Property Value
Type | Description |
---|---|
string |
Title
Gets or sets the title.
Declaration
RequestResponse
string Title { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetDescription(CultureInfo)
Gets the description.
Declaration
RequestResponse
string GetDescription(CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture |
Culture of the description. |
Returns
Type | Description |
---|---|
string |
The description in specified culture. |
GetFinalLifeCycleStatusAsync()
Gets the final life cycle status.
Declaration
RequestResponse
Task<FinalLifeCycleStatus?> GetFinalLifeCycleStatusAsync()
Returns
Type | Description |
---|---|
Task<>FinalLifeCycleStatus |
The status or null when the relation wasn't loaded. |
SetDescription(CultureInfo, string)
Sets the description.
Declaration
RequestResponse
void SetDescription(CultureInfo culture, string description)
Parameters
Type | Name | Description |
---|---|---|
CultureInfo | culture |
Culture of the description. |
string | description |
The description. |