Table of Contents

Interface IDependencyExpression

Namespace
NRules.Fluent.Dsl
Assembly
NRules.Fluent.dll

Rule's dependencies expression builder.

public interface IDependencyExpression

Methods

Resolve<TDependency>(Expression<Func<TDependency>>)

Configures the engine to inject the rules with a required dependency.

IDependencyExpression Resolve<TDependency>(Expression<Func<TDependency>> alias)

Parameters

alias Expression<Func<TDependency>>

Alias for the injected service.

Returns

IDependencyExpression

Dependencies expression builder.

Type Parameters

TDependency

Type of the service to inject.