Show / Hide Table of Contents

Class AbpOptionsFactory<TOptions>

Inheritance
object
AbpOptionsFactory<TOptions>
Implements
Microsoft.Extensions.Options.IOptionsFactory<TOptions><TOptions>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Options
Assembly: Volo.Abp.Core.dll
Syntax
public class AbpOptionsFactory<TOptions> : IOptionsFactory<TOptions> where TOptions : class, new()
Type Parameters
Name Description
TOptions

Constructors

AbpOptionsFactory(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>, IEnumerable<IValidateOptions<TOptions>>)

Declaration
public AbpOptionsFactory(IEnumerable<IConfigureOptions<TOptions>> setups, IEnumerable<IPostConfigureOptions<TOptions>> postConfigures, IEnumerable<IValidateOptions<TOptions>> validations)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T><IConfigureOptions<TOptions>> setups
System.Collections.Generic.IEnumerable<T><IPostConfigureOptions<TOptions>> postConfigures
System.Collections.Generic.IEnumerable<T><IValidateOptions<TOptions>> validations

AbpOptionsFactory(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>)

Declaration
public AbpOptionsFactory(IEnumerable<IConfigureOptions<TOptions>> setups, IEnumerable<IPostConfigureOptions<TOptions>> postConfigures)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<T><IConfigureOptions<TOptions>> setups
System.Collections.Generic.IEnumerable<T><IPostConfigureOptions<TOptions>> postConfigures

Methods

ConfigureOptions(string, TOptions)

Declaration
protected virtual void ConfigureOptions(string name, TOptions options)
Parameters
Type Name Description
string name
TOptions options

Create(string)

Declaration
public virtual TOptions Create(string name)
Parameters
Type Name Description
string name
Returns
Type Description
TOptions

PostConfigureOptions(string, TOptions)

Declaration
protected virtual void PostConfigureOptions(string name, TOptions options)
Parameters
Type Name Description
string name
TOptions options

ValidateOptions(string, TOptions)

Declaration
protected virtual void ValidateOptions(string name, TOptions options)
Parameters
Type Name Description
string name
TOptions options

Implements

Microsoft.Extensions.Options.IOptionsFactory<TOptions>

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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft