ReflectionHelper::GetAttributeValue<TAttribute, TResult> Method

.NET Framework 4.5

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public:
generic<typename TAttribute, typename TResult>
where TAttribute : Attribute 
static TResult GetAttributeValue(
	ICustomAttributeProvider^ source, 
	Func<TAttribute, TResult>^ valueGetter
)

Type Parameters

TAttribute

TResult

Parameters

source
Type: System.Reflection::ICustomAttributeProvider
valueGetter
Type: System::Func<TAttribute, TResult>

Return Value

Type: TResult
Returns [{0}].
Show: