Show / Hide Table of Contents

Class EnabledServiceBehaviorRuleBase<TServiceContract>

Base class for behavior rules controlling the enabled state of services. It applyes for services implementing the contract TServiceContract.

Inheritance
System.Object
Loggable
BehaviorRuleFlowControlBase
BehaviorRuleBase<IServiceBehaviorContext<TServiceContract>, System.Boolean>
EnabledServiceBehaviorRuleBase<TServiceContract>
EnabledServiceBehaviorRuleBase<TServiceContract, TServiceImplementation>
Implements
ILoggable
IEnabledServiceBehaviorRule<TServiceContract>
IBehaviorRule<IServiceBehaviorContext<TServiceContract>, System.Boolean>
IBehaviorRule<IServiceBehaviorContext<TServiceContract>>
IEnabledServiceBehaviorRule
IBehaviorRule<IContext, System.Boolean>
IBehaviorRule<IContext>
IBehaviorRuleFlowControl
Inherited Members
BehaviorRuleBase<IServiceBehaviorContext<TServiceContract>, Boolean>.CanApply(IServiceBehaviorContext<TServiceContract>)
BehaviorRuleBase<IServiceBehaviorContext<TServiceContract>, Boolean>.IBehaviorRule<IServiceBehaviorContext<TServiceContract>>.GetValue(IServiceBehaviorContext<TServiceContract>)
BehaviorRuleBase<IServiceBehaviorContext<TServiceContract>, Boolean>.GetValue(IServiceBehaviorContext<TServiceContract>)
BehaviorRuleFlowControlBase.ProcessingPriority
BehaviorRuleFlowControlBase.IsEndRule
BehaviorRuleFlowControlBase.ComputeIsEndRule()
BehaviorRuleFlowControlBase.ComputeProcessingPriority()
Loggable.Logger
Loggable.GetLogger()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Services.Behaviors
Assembly: Kephas.Core.dll
Syntax
public abstract class EnabledServiceBehaviorRuleBase<TServiceContract> : BehaviorRuleBase<IServiceBehaviorContext<TServiceContract>, bool>, ILoggable, IEnabledServiceBehaviorRule<TServiceContract>, IBehaviorRule<IServiceBehaviorContext<TServiceContract>, bool>, IBehaviorRule<IServiceBehaviorContext<TServiceContract>>, IEnabledServiceBehaviorRule, IBehaviorRule<IContext, bool>, IBehaviorRule<IContext>, IBehaviorRuleFlowControl
Type Parameters
Name Description
TServiceContract

Type of the service contract.

Explicit Interface Implementations

| Improve this Doc View Source

IBehaviorRule<IContext, Boolean>.GetValue(IContext)

Gets the behavior value asynchronously.

Declaration
IBehaviorValue<bool> IBehaviorRule<IContext, bool>.GetValue(IContext context)
Parameters
Type Name Description
IContext context

The context.

Returns
Type Description
IBehaviorValue<System.Boolean>

A promise of the behavior value.

| Improve this Doc View Source

IBehaviorRule<IContext>.CanApply(IContext)

Gets a value indicating whether the rule may be applied or not.

Declaration
bool IBehaviorRule<IContext>.CanApply(IContext context)
Parameters
Type Name Description
IContext context

The context.

Returns
Type Description
System.Boolean

A value indicating whether the rule may be applied or not.

| Improve this Doc View Source

IBehaviorRule<IContext>.GetValue(IContext)

Gets the behavior value.

Declaration
IBehaviorValue IBehaviorRule<IContext>.GetValue(IContext context)
Parameters
Type Name Description
IContext context

The context.

Returns
Type Description
IBehaviorValue

The behavior value.

Implements

ILoggable
IEnabledServiceBehaviorRule<TServiceContract>
IBehaviorRule<TContext, TValue>
IBehaviorRule<TContext>
IEnabledServiceBehaviorRule
IBehaviorRule<TContext, TValue>
IBehaviorRule<TContext>
IBehaviorRuleFlowControl

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX