/// <summary>For an OSpace ComplexType returns the delegate to construct the clr instance.</summary> internal static Delegate GetConstructorDelegateForType(ClrComplexType clrType) { return(clrType.Constructor ?? (clrType.Constructor = CreateConstructor(clrType.ClrType))); }
internal static Func <object> GetConstructorDelegateForType(ClrComplexType clrType) { return(clrType.Constructor ?? (clrType.Constructor = DelegateFactory.CreateConstructor(clrType.ClrType))); }