Click or drag to resize

FeatureCollectionExtensionsGetTFeature Method

[This is preliminary documentation and is subject to change.]

Gets the feature of the specified type.

Namespace:  JsonRpc.Server
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public static TFeature Get<TFeature>(
	this IFeatureCollection featureCollection
)

Parameters

featureCollection
Type: JsonRpc.ServerIFeatureCollection
The target feature collection.

Type Parameters

TFeature
Feature type. Usually an interface type.

Return Value

Type: TFeature
The requested feature instance, or null if not applicable.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IFeatureCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also