Show / Hide Table of Contents

Class MenuItem

Inheritance
object
Entity
Entity<Guid>
BasicAggregateRoot<Guid>
AggregateRoot<Guid>
CreationAuditedAggregateRoot<Guid>
AuditedAggregateRoot<Guid>
MenuItem
Implements
IAggregateRoot<Guid>
IEntity<Guid>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IAuditedObject
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IModificationAuditedObject
IHasModificationTime
IMultiTenant
Inherited Members
AuditedAggregateRoot<Guid>.LastModificationTime
AuditedAggregateRoot<Guid>.LastModifierId
CreationAuditedAggregateRoot<Guid>.CreationTime
CreationAuditedAggregateRoot<Guid>.CreatorId
AggregateRoot<Guid>.Validate(ValidationContext)
AggregateRoot<Guid>.ExtraProperties
AggregateRoot<Guid>.ConcurrencyStamp
BasicAggregateRoot<Guid>.GetLocalEvents()
BasicAggregateRoot<Guid>.GetDistributedEvents()
BasicAggregateRoot<Guid>.ClearLocalEvents()
BasicAggregateRoot<Guid>.ClearDistributedEvents()
BasicAggregateRoot<Guid>.AddLocalEvent(object)
BasicAggregateRoot<Guid>.AddDistributedEvent(object)
Entity<Guid>.GetKeys()
Entity<Guid>.ToString()
Entity<Guid>.Id
Entity.EntityEquals(IEntity)
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Menus
Assembly: Volo.CmsKit.Domain.dll
Syntax
public class MenuItem : AuditedAggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, IAuditedObject, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator, IModificationAuditedObject, IHasModificationTime, IMultiTenant

Constructors

MenuItem()

Declaration
protected MenuItem()

MenuItem(Guid, string, string, bool, Guid?, string, int, string, string, string, Guid?)

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
Type Name Description
Guid id
string displayName
string url
bool isActive
Guid? parentId
string icon
int order
string target
string elementId
string cssClass
Guid? tenantId

Properties

CssClass

Declaration
public string CssClass { get; set; }
Property Value
Type Description
string

DisplayName

Declaration
public string DisplayName { get; protected set; }
Property Value
Type Description
string

ElementId

Declaration
public string ElementId { get; set; }
Property Value
Type Description
string

Icon

Declaration
public string Icon { get; set; }
Property Value
Type Description
string

IsActive

Declaration
public bool IsActive { get; set; }
Property Value
Type Description
bool

Order

Declaration
public int Order { get; set; }
Property Value
Type Description
int

PageId

Declaration
public Guid? PageId { get; protected set; }
Property Value
Type Description
Guid?

ParentId

Declaration
public Guid? ParentId { get; set; }
Property Value
Type Description
Guid?

Target

Declaration
public string Target { get; set; }
Property Value
Type Description
string

TenantId

Declaration
public Guid? TenantId { get; protected set; }
Property Value
Type Description
Guid?

Url

Declaration
public string Url { get; protected set; }
Property Value
Type Description
string

Methods

SetDisplayName(string)

Declaration
public void SetDisplayName(string displayName)
Parameters
Type Name Description
string displayName

SetUrl(string)

Declaration
public void SetUrl(string url)
Parameters
Type Name Description
string url

Implements

IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
IAuditedObject
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IModificationAuditedObject
IHasModificationTime
IMultiTenant

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform