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