Assembly: Volo.CmsKit.Domain.dll
public class MenuItem : AuditedAggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, IAuditedObject, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator, IModificationAuditedObject, IHasModificationTime, IMultiTenant
Constructors
Declaration
Declaration
public MenuItem(Guid id, string displayName, string url, bool isActive = true, Guid? parentId = null, string icon = null, int order = 0, string target = null, string elementId = null, string cssClass = null, Guid? tenantId = null)
Parameters
Properties
Declaration
public string CssClass { get; set; }
Property Value
Declaration
public string DisplayName { get; protected set; }
Property Value
Declaration
public string ElementId { get; set; }
Property Value
Declaration
public string Icon { get; set; }
Property Value
Declaration
public bool IsActive { get; set; }
Property Value
Declaration
public int Order { get; set; }
Property Value
Declaration
public Guid? PageId { get; protected set; }
Property Value
Declaration
public Guid? ParentId { get; set; }
Property Value
Declaration
public string Target { get; set; }
Property Value
Declaration
public Guid? TenantId { get; protected set; }
Property Value
Declaration
public string Url { get; protected set; }
Property Value
Methods
Declaration
public void SetDisplayName(string displayName)
Parameters
Type |
Name |
Description |
string |
displayName |
|
Declaration
public void SetUrl(string url)
Parameters
Type |
Name |
Description |
string |
url |
|
Implements
Extension Methods