public void ShouldUseAParameterlessCtor() { var instance = (Parameterless)CreateInstanceFromType2020RuntimeArgs .GetInstance(typeof(Parameterless)); Assert.NotNull(instance); }
public void ShouldUseAParameterlessValueTypeCtor() { var instance = (Guid)CreateInstanceFromType2020RuntimeArgs .GetInstance(typeof(Guid)); Assert.Equal(default, instance);
public object R_2020_CreateInstanceFromType_3() { return(CreateInstanceFromType2020RuntimeArgs .GetInstance(typeof(MultiCtor), "hello!", 123, DateTime.MinValue)); }
public object R_2020_CreateInstanceFromType_2() { return(CreateInstanceFromType2020RuntimeArgs .GetInstance(typeof(TwoParamCtor), "hello!", 123)); }
public object R_2020_CreateInstanceFromType_1() { return(CreateInstanceFromType2020RuntimeArgs .GetInstance(typeof(OneParamCtor), "hello!")); }
public object R_2020_CreateInstanceFromType_0() { return(CreateInstanceFromType2020RuntimeArgs .GetInstance(typeof(Parameterless))); }