Show / Hide Table of Contents

Class ObjectExtensionManager

Inheritance
object
ObjectExtensionManager
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.ObjectExtending
Assembly: Volo.Abp.ObjectExtending.dll
Syntax
public class ObjectExtensionManager

Constructors

ObjectExtensionManager()

Declaration
protected ObjectExtensionManager()

Properties

Configuration

Declaration
public ConcurrentDictionary<object, object> Configuration { get; }
Property Value
Type Description
ConcurrentDictionary<object, object>

Instance

Declaration
public static ObjectExtensionManager Instance { get; protected set; }
Property Value
Type Description
ObjectExtensionManager

ObjectsExtensions

Declaration
protected ConcurrentDictionary<Type, ObjectExtensionInfo> ObjectsExtensions { get; }
Property Value
Type Description
ConcurrentDictionary<Type, ObjectExtensionInfo>

Methods

AddOrUpdate(Type, Action<ObjectExtensionInfo>?)

Declaration
public virtual ObjectExtensionManager AddOrUpdate(Type type, Action<ObjectExtensionInfo>? configureAction = null)
Parameters
Type Name Description
Type type
Action<ObjectExtensionInfo> configureAction
Returns
Type Description
ObjectExtensionManager

AddOrUpdate(Type[], Action<ObjectExtensionInfo>?)

Declaration
public virtual ObjectExtensionManager AddOrUpdate(Type[] types, Action<ObjectExtensionInfo>? configureAction = null)
Parameters
Type Name Description
Type[] types
Action<ObjectExtensionInfo> configureAction
Returns
Type Description
ObjectExtensionManager

AddOrUpdate<TObject>(Action<ObjectExtensionInfo>?)

Declaration
public virtual ObjectExtensionManager AddOrUpdate<TObject>(Action<ObjectExtensionInfo>? configureAction = null)
Parameters
Type Name Description
Action<ObjectExtensionInfo> configureAction
Returns
Type Description
ObjectExtensionManager
Type Parameters
Name Description
TObject

GetExtendedObjects()

Declaration
public virtual ImmutableList<ObjectExtensionInfo> GetExtendedObjects()
Returns
Type Description
ImmutableList<ObjectExtensionInfo>

GetOrNull(Type)

Declaration
public virtual ObjectExtensionInfo? GetOrNull(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
ObjectExtensionInfo

GetOrNull<TObject>()

Declaration
public virtual ObjectExtensionInfo? GetOrNull<TObject>()
Returns
Type Description
ObjectExtensionInfo
Type Parameters
Name Description
TObject

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>>)
ModuleObjectExtensionManagerExtensions.Modules(ObjectExtensionManager)
ObjectExtensionManagerExtensions.AddOrUpdateProperty(ObjectExtensionManager, Type, Type, string, Action<ObjectExtensionPropertyInfo>?)
ObjectExtensionManagerExtensions.AddOrUpdateProperty(ObjectExtensionManager, Type[], Type, string, Action<ObjectExtensionPropertyInfo>?)
ObjectExtensionManagerExtensions.AddOrUpdateProperty<TProperty>(ObjectExtensionManager, Type[], string, Action<ObjectExtensionPropertyInfo>?)
ObjectExtensionManagerExtensions.AddOrUpdateProperty<TObject, TProperty>(ObjectExtensionManager, string, Action<ObjectExtensionPropertyInfo>?)
ObjectExtensionManagerExtensions.GetProperties(ObjectExtensionManager, Type)
ObjectExtensionManagerExtensions.GetPropertiesAndCheckPolicyAsync(ObjectExtensionManager, Type, IServiceProvider)
ObjectExtensionManagerExtensions.GetPropertiesAndCheckPolicyAsync<TObject>(ObjectExtensionManager, IServiceProvider)
ObjectExtensionManagerExtensions.GetProperties<TObject>(ObjectExtensionManager)
ObjectExtensionManagerExtensions.GetPropertyOrNull(ObjectExtensionManager, Type, string)
ObjectExtensionManagerExtensions.GetPropertyOrNull<TObject>(ObjectExtensionManager, string)
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