InitializableConfigurationElement<TDependency>.CreateDependency<TDefault> Method (Func<TDefault>, Object[])
Applies To: Dynamics CRM 2013
Namespace: Microsoft.Xrm.Client.Configuration
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected TDependency CreateDependency<TDefault>(
Func<TDefault> createDefault,
params object[] args
)
where TDefault : TDependency
protected:
generic<typename TDefault>
where TDefault : TDependency
TDependency CreateDependency(
Func<TDefault>^ createDefault,
... array<Object^>^ args
)
member CreateDependency<'TDefault when 'TDefault : 'TDependency> :
createDefault:Func<'TDefault> *
[<ParamArrayAttribute>] args:Object[] -> 'TDependency
Protected Function CreateDependency(Of TDefault As TDependency) (
createDefault As Func(Of TDefault),
ParamArray args As Object()
) As TDependency
Parameters
- createDefault
Type: System.Func<TDefault>
- args
Type: System.Object[]
Return Value
Type: TDependency
Type: {0}.
Type Parameters
- TDefault
See Also
CreateDependency Overload
InitializableConfigurationElement<TDependency> Class
Microsoft.Xrm.Client.Configuration Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top