Show / Hide Table of Contents

Interface IFunction

定义功能信息

Inherited Members
IEntity<Guid>.Id
ILockable.IsLocked
Namespace: System.Dynamic.ExpandoObject
Assembly: OSharp.dll
Syntax
public interface IFunction : IEntity<Guid>, ILockable, IEntityHash

Properties

AccessType

获取或设置 访问类型

Declaration
FunctionAccessType AccessType { get; set; }
Property Value
FunctionAccessType

Action

获取或设置 控制器的功能名称

Declaration
string Action { get; set; }
Property Value
System.String

Area

获取或设置 区域名称

Declaration
string Area { get; set; }
Property Value
System.String

AuditEntityEnabled

获取或设置 是否启用数据审计

Declaration
bool AuditEntityEnabled { get; set; }
Property Value
System.Boolean

AuditOperationEnabled

获取或设置 是否启用操作审计

Declaration
bool AuditOperationEnabled { get; set; }
Property Value
System.Boolean

CacheExpirationSeconds

获取或设置 数据缓存时间(秒)

Declaration
int CacheExpirationSeconds { get; set; }
Property Value
System.Int32

Controller

获取或设置 控制器名称

Declaration
string Controller { get; set; }
Property Value
System.String

IsAccessTypeChanged

获取或设置 访问类型是否理发,如为true,刷新功能时将忽略功能类型

Declaration
bool IsAccessTypeChanged { get; set; }
Property Value
System.Boolean

IsAjax

获取或设置 是否Ajax功能

Declaration
bool IsAjax { get; set; }
Property Value
System.Boolean

IsCacheSliding

获取或设置 是否相对过期时间,否则为绝对过期

Declaration
bool IsCacheSliding { get; set; }
Property Value
System.Boolean

IsController

获取或设置 是否是控制器

Declaration
bool IsController { get; set; }
Property Value
System.Boolean

Name

获取或设置 功能名称

Declaration
string Name { get; set; }
Property Value
System.String

Extension Methods

DistributedCacheExtensions.ToCacheOptions(IFunction)
EntityHashExtensions.GetHash(IEntityHash)
EntityExtensions.CheckICreatedTime<TEntity, TKey>(TEntity)
EntityExtensions.CheckICreationAudited<TEntity, TKey, TUserKey>(TEntity, IPrincipal)
EntityExtensions.CheckIUpdateAudited<TEntity, TKey, TUserKey>(TEntity, IPrincipal)
ObjectExtensions.CastTo(Object, Type)
ObjectExtensions.CastTo<T>(Object)
ObjectExtensions.CastTo<T>(Object, T)
ObjectExtensions.IsIn<T>(T, T[])
ObjectExtensions.ToDynamic(Object)
ObjectExtensions.DeepClone<T>(T)
ParamterCheckExtensions.Required<T>(T, Func<T, Boolean>, String)
ParamterCheckExtensions.Required<T, TException>(T, Func<T, Boolean>, String)
ParamterCheckExtensions.CheckNotNull<T>(T, String)
TryCatchExtensions.TryCatch<T>(T, Action<T>, Action<Exception>, Action<T>)
TryCatchExtensions.TryCatch<T>(T, Action<T>, Action<Exception>)
TryCatchExtensions.TryCatch<T, TResult>(T, Func<T, TResult>, Action<Exception>, Action<T>)
TryCatchExtensions.TryCatch<T, TResult>(T, Func<T, TResult>, Action<Exception>)
TryCatchExtensions.TryFinally<T>(T, Action<T>, Action<T>)
JsonExtensions.ToJsonString(Object, Boolean, Boolean)
MapperExtensions.MapTo<TTarget>(Object)
MapperExtensions.MapTo<TSource, TTarget>(TSource, TTarget)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<TSource, TResult>(TSource, Func<TSource, TResult>)
Back to top Generated by DocFX