Class FeatureSimpleStateCheckerExtensions
Inheritance
object
FeatureSimpleStateCheckerExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Features
Assembly: Volo.Abp.Features.dll
Syntax
public static class FeatureSimpleStateCheckerExtensions
Methods
RequireFeatures<TState>(TState, bool, params string[])
Declaration
public static TState RequireFeatures<TState>(this TState state, bool requiresAll, params string[] features) where TState : IHasSimpleStateCheckers<TState>
Parameters
| Type | Name | Description |
|---|---|---|
| TState | state | |
| bool | requiresAll | |
| string[] | features |
Returns
| Type | Description |
|---|---|
| TState |
Type Parameters
| Name | Description |
|---|---|
| TState |
RequireFeatures<TState>(TState, params string[])
Declaration
public static TState RequireFeatures<TState>(this TState state, params string[] features) where TState : IHasSimpleStateCheckers<TState>
Parameters
| Type | Name | Description |
|---|---|---|
| TState | state | |
| string[] | features |
Returns
| Type | Description |
|---|---|
| TState |
Type Parameters
| Name | Description |
|---|---|
| TState |