InitializableConfigurationElement<TDependency>.CreateDependencyAndInitialize<TDefault> Method (Func<TDefault>, Object[])
Applies To: Dynamics CRM 2015
Namespace: Microsoft.Xrm.Client.Configuration
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
protected TDependency CreateDependencyAndInitialize<TDefault>(
Func<TDefault> createDefault,
params object[] args
)
where TDefault : TDependency
protected:
generic<typename TDefault>
where TDefault : TDependency
TDependency CreateDependencyAndInitialize(
Func<TDefault>^ createDefault,
... array<Object^>^ args
)
member CreateDependencyAndInitialize<'TDefault when 'TDefault : 'TDependency> :
createDefault:Func<'TDefault> *
[<ParamArrayAttribute>] args:Object[] -> 'TDependency
Protected Function CreateDependencyAndInitialize(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
CreateDependencyAndInitialize Overload
InitializableConfigurationElement<TDependency> Class
Microsoft.Xrm.Client.Configuration Namespace
Return to top
© 2017 Microsoft. All rights reserved. Copyright