Class PublishDetails
Default implementation of the IUserPublishDetailsData interface
Inheritance
System.Object
PublishDetails
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class PublishDetails : Object
Constructors
PublishDetails()
Default constructor
Declaration
public PublishDetails()
PublishDetails(PublishDetails)
Copy constructor
Declaration
public PublishDetails(PublishDetails publishDetails)
Parameters
| Type | Name | Description |
|---|---|---|
| PublishDetails | publishDetails |
Properties
Data
The json serialized IUserPublishDetailsData
Declaration
public string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Date
Date when the details where created
Declaration
public DateTime Date { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Id
Id of the details
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
GetUserData<T>()
Gets the data
Declaration
public IUserPublishDetailsData GetUserData<T>()
where T : IUserPublishDetailsData
Returns
| Type | Description |
|---|---|
| IUserPublishDetailsData |
Type Parameters
| Name | Description |
|---|---|
| T |
SetUserData(IUserPublishDetailsData)
Sets the data
Declaration
public void SetUserData(IUserPublishDetailsData data)
Parameters
| Type | Name | Description |
|---|---|---|
| IUserPublishDetailsData | data |