Initializes a new instance of the ConditionalProjection class

Namespace: NHibernate.Criterion
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public ConditionalProjection(
	ICriterion criterion,
	IProjection whenTrue,
	IProjection whenFalse
)
Visual Basic
Public Sub New ( _
	criterion As ICriterion, _
	whenTrue As IProjection, _
	whenFalse As IProjection _
)
Visual C++
public:
ConditionalProjection(
	ICriterion^ criterion, 
	IProjection^ whenTrue, 
	IProjection^ whenFalse
)

Parameters

criterion
Type: NHibernate.Criterion..::..ICriterion

[Missing <param name="criterion"/> documentation for "M:NHibernate.Criterion.ConditionalProjection.#ctor(NHibernate.Criterion.ICriterion,NHibernate.Criterion.IProjection,NHibernate.Criterion.IProjection)"]

whenTrue
Type: NHibernate.Criterion..::..IProjection

[Missing <param name="whenTrue"/> documentation for "M:NHibernate.Criterion.ConditionalProjection.#ctor(NHibernate.Criterion.ICriterion,NHibernate.Criterion.IProjection,NHibernate.Criterion.IProjection)"]

whenFalse
Type: NHibernate.Criterion..::..IProjection

[Missing <param name="whenFalse"/> documentation for "M:NHibernate.Criterion.ConditionalProjection.#ctor(NHibernate.Criterion.ICriterion,NHibernate.Criterion.IProjection,NHibernate.Criterion.IProjection)"]

See Also