Click or drag to resize
weroSoft AG, Software
WorkingContextRegisterFeatureTFeature Method (Object)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Registers a feature in the context.

Namespace:  WeroSoft.Data
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public TFeature RegisterFeature<TFeature>(
	Object featureInstance
)
where TFeature : IFeature

Parameters

featureInstance
Type: SystemObject
The feature instance to be bound as feature.

Type Parameters

TFeature
The feature to be registered.

Return Value

Type: TFeature

[Missing <returns> documentation for "M:WeroSoft.Data.WorkingContext.RegisterFeature``1(System.Object)"]

Exceptions
ExceptionCondition
AssertArgumentExceptionThe feature instance is null.
ArgumentExceptionThe feature instance is not assignable to the type of the generic type.
See Also