-
Notifications
You must be signed in to change notification settings - Fork 1
Types
Galladjov Camille edited this page Jun 28, 2020
·
4 revisions
This section will be dedicated to type description used in OrchardCoreModule.WebApi.
Type index:
/// <summary> Content index item </summary>
class ContentItemIndex<T>
{
/// <summary> Content index ID </summary>
public int Id { get; set; }
/// <summary> Content item ID </summary>
public string ContentItemId { get; set; }
/// <summary> Linked document ID </summary>
public int DocumentId { get; set; }
/// <summary> Is it latest version of content item or not </summary>
public bool Latest { get; set; }
/// <summary> Is content item published or not </summary>
public bool Published { get; set; }
/// <summary> Technical name of an content type in CMS </summary>
public string ContentType { get; set; }
/// <summary> Content </summary>
public T Content { get; set; }
/// <summary> Is deleted </summary>
public bool IsDeleted { get; set; }
}class CallbackData
{
/// <summary> Content Item Id </summary>
public string ContentItemId { get; set; }
/// <summary> Content Type </summary>
public string ContentType { get; set; }
/// <summary> Действие </summary>
public CallbackAction Action { get; set; }
}