Class WorkerSite
Namespace: Casewhere.Models.WorkerSites
Assembly: Casewhere.Models.dll
Represents a worker site entity. A worker site is a site that your end users are presented to. A Casewhere solution can have as many worker sites as needed. Each worker site has a unique URL, a different theme, and separate security policies.
public class WorkerSite : Entity, IIdentity
Inheritance
object ← Entity ← WorkerSite
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<WorkerSite>(WorkerSite)
Constructors
WorkerSite()
public WorkerSite()
Properties
AutoAlignRightNumber
public bool AutoAlignRightNumber { get; set; }
Property Value
DecimalSeparator
Gets or sets the decimal separator for the worker site. The decimal separator is used to display the decimal number in the worker site.
public DecimalSeparator DecimalSeparator { get; set; }
Property Value
DefaultPageId
public Guid? DefaultPageId { get; set; }
Property Value
Guid?
DisableScriptLibraries
public IEnumerable<ThirdPartyJavaScriptLibrary> DisableScriptLibraries { get; set; }
Property Value
IEnumerable<ThirdPartyJavaScriptLibrary>
DomainName
Gets or sets the domain name of the worker site. The Uri of the worker site. Users will access the worker site via this Uri.
public string DomainName { get; set; }
Property Value
EnableAnonymousUser
Gets or sets a value indicating whether anonymous user is enabled for the worker site. When enabled, users can access the worker site without login.
public bool EnableAnonymousUser { get; set; }
Property Value
EnableSSO
public bool EnableSSO { get; set; }
Property Value
EnableTextSelection
public bool EnableTextSelection { get; set; }
Property Value
EntityId
public string EntityId { get; set; }
Property Value
IPWhitelist
public string IPWhitelist { get; set; }
Property Value
IdPConnectionId
Gets or sets the IDP connection ID for the worker site. The ID of the identity provider connection for user authentication.
public Guid? IdPConnectionId { get; set; }
Property Value
Guid?
InjectContent
Gets or sets the inject content for the worker site. Customized HTML, JS, CSS inject into the worker site response content.
public WorkerSiteInjectTemplate InjectContent { get; set; }
Property Value
IsActive
Gets or sets a value indicating whether the worker site is active. If inactive, the worker site will not be accessible.
public bool IsActive { get; set; }
Property Value
IsEnableKeysAsLanguage
Gets or sets a value indicating whether to enable keys as language for the worker site. A feature to show the resource key as the language text.
public bool IsEnableKeysAsLanguage { get; set; }
Property Value
IsHttps
Gets or sets a value indicating whether the worker site uses HTTPS.
public bool IsHttps { get; set; }
Property Value
IsLocked
public bool IsLocked { get; set; }
Property Value
IsUnderMaintenance
public bool IsUnderMaintenance { get; set; }
Property Value
Localization
Gets or sets the localization settings for the worker site. The localization settings include the default language, the default currency, and the default time zone.
public Localization Localization { get; set; }
Property Value
MainWorkerSiteId
public Guid? MainWorkerSiteId { get; set; }
Property Value
Guid?
MaintenancePageId
public Guid? MaintenancePageId { get; set; }
Property Value
Guid?
Name
Gets or sets the name of the worker site. The name to identify the worker site. The worker site name must be unique.
public string Name { get; set; }
Property Value
ProductId
Gets or sets the product ID of the worker site. The ID of the Product package that the worker site belongs to.
public Guid ProductId { get; set; }
Property Value
ProductVersion
Gets or sets the product version of the worker site. The version of the Product package that the worker site belongs to.
public string ProductVersion { get; set; }
Property Value
PublishedVersion
public int PublishedVersion { get; set; }
Property Value
Tags
public IList<string> Tags { get; set; }
Property Value
ThemeId
Gets or sets the theme ID of the worker site. The theme governs the worker site's looks and feels.
public Guid ThemeId { get; set; }
Property Value
ThousandSeparator
Gets or sets the thousand separator for the worker site. The decimal separator is used to display the decimal number in the worker site.
public ThousandSeparator ThousandSeparator { get; set; }
Property Value
Title
Gets or sets the title of the worker site. This title will appear on the browser header.
public string Title { get; set; }
Property Value
VerifyWorkerSiteClaim
public bool VerifyWorkerSiteClaim { get; set; }
Property Value
WorkerSiteItems
Gets or sets the list of worker site items. It can be a list of pages, page groups, view that are available on the worker site.
public IList<WorkerSiteItem> WorkerSiteItems { get; set; }
Property Value
Methods
GetIPWhitelist()
public IList<string> GetIPWhitelist()
Returns
GetResourceName()
Gets the display name of the entity.
public override string GetResourceName()
Returns
The display name of the entity.