Table of Contents

Class WidgetV2

Namespace: Casewhere.Models.Cms
Assembly: Casewhere.Models.dll

public class WidgetV2 : Entity, IIdentity

Inheritance

objectEntityWidgetV2

Implements

IIdentity

Inherited Members

Entity.GetResourceName(), Entity.Id, Entity.Version, Entity.CreatedBy, Entity.CreatedAt, Entity.ModifiedBy, Entity.ModifiedAt, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<WidgetV2>(WidgetV2)

Constructors

WidgetV2()

public WidgetV2()

Properties

ApiName

public string ApiName { get; set; }

Property Value

string

ChildrenIds

public IList<Guid> ChildrenIds { get; set; }

Property Value

IList<Guid>

Configuration

public object Configuration { get; set; }

Property Value

object

ConfigurationComponent

public ComponentContent ConfigurationComponent { get; set; }

Property Value

ComponentContent

ConfigurationTextResources

public IList<ConfigurationTextResource> ConfigurationTextResources { get; set; }

Property Value

IList<ConfigurationTextResource>

ConfigurationWindowSize

[JsonConverter(typeof(StringEnumConverter))]
public WindowSize? ConfigurationWindowSize { get; set; }

Property Value

WindowSize?

ContainerId

public Guid ContainerId { get; set; }

Property Value

Guid

ContentComponent

public ComponentContent ContentComponent { get; set; }

Property Value

ComponentContent

HasSearchableContent

public bool HasSearchableContent { get; set; }

Property Value

bool

IsContainer

public bool IsContainer { get; set; }

Property Value

bool

IsTemplate

public bool IsTemplate { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Order

public int Order { get; set; }

Property Value

int

PageId

public Guid PageId { get; set; }

Property Value

Guid

ProductId

public Guid ProductId { get; set; }

Property Value

Guid

SubscriberIds

public IList<Guid> SubscriberIds { get; set; }

Property Value

IList<Guid>

TemplateId

public Guid? TemplateId { get; set; }

Property Value

Guid?

WidgetTemplateId

public Guid WidgetTemplateId { get; set; }

Property Value

Guid

Methods

GetResourceName()

Gets the display name of the entity.

public override string GetResourceName()

Returns

string

The display name of the entity.

IsSearchable()

public bool IsSearchable()

Returns

bool