Class PublishDetails
Default implementation of the IPublishDetailsData interface
Inheritance
System.Object
PublishDetails
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Data
Assembly: ImageVault.Common.dll
Syntax
public class PublishDetails
Constructors
PublishDetails()
Default constructor
Declaration
public PublishDetails()
PublishDetails(IPublishDetailsData)
Creates a details object around the supplied data
Declaration
[Obsolete("Use IUserPublishDetailsData instead")]
public PublishDetails(IPublishDetailsData data)
Parameters
Type | Name | Description |
---|---|---|
IPublishDetailsData | data |
PublishDetails(IUserPublishDetailsData)
Creates a details object around the supplied data
Declaration
public PublishDetails(IUserPublishDetailsData data)
Parameters
Type | Name | Description |
---|---|---|
IUserPublishDetailsData | data |
PublishDetails(PublishDetails)
Copy constructor
Declaration
public PublishDetails(PublishDetails publishDetails)
Parameters
Type | Name | Description |
---|---|---|
PublishDetails | publishDetails |
Properties
Data
The json serialized IPublishDetailsData
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
GetData<T>()
Gets the data
Declaration
[Obsolete("Use GetUserData instead")]
public IPublishDetailsData GetData<T>()
where T : IPublishDetailsData
Returns
Type | Description |
---|---|
IPublishDetailsData |
Type Parameters
Name | Description |
---|---|
T |
GetUserData<T>()
Gets the data
Declaration
public IUserPublishDetailsData GetUserData<T>()
where T : IUserPublishDetailsData
Returns
Type | Description |
---|---|
IUserPublishDetailsData |
Type Parameters
Name | Description |
---|---|
T |
SetData(IPublishDetailsData)
Sets the data
Declaration
[Obsolete("Use SetUserData instead")]
public void SetData(IPublishDetailsData data)
Parameters
Type | Name | Description |
---|---|---|
IPublishDetailsData | data |
SetUserData(IUserPublishDetailsData)
Sets the data
Declaration
public void SetUserData(IUserPublishDetailsData data)
Parameters
Type | Name | Description |
---|---|---|
IUserPublishDetailsData | data |