Click or drag to resize
ConditionalObjectFactory<ObjectType>.WhenParameter<InputType> Method
Adds the object condition to the factory

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 10.0.0
Syntax
C#
public IConditionalObjectFactory WhenParameter<InputType>(
	Func<InputType, bool> condition
)

Parameters

condition
Type: System.Func<InputType, Boolean>
Condition that must be matched

Type Parameters

InputType

Return Value

Type: IConditionalObjectFactory

Implements

IConditionalObjectFactory.WhenParameter<InputType>(Func<InputType, Boolean>)
See Also