コード例 #1
0
 public void ExportRegistrationBlock_Export_Factory_0_Arg(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.ExportFactory((Func <IBasicService>)null));
 }
コード例 #2
0
 public void ExportRegistrationBlock_Export_Factory_3_Arg(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.ExportFactory((Func <IExportLocatorScope, StaticInjectionContext, IInjectionContext, IBasicService>)null));
 }
コード例 #3
0
 public void ExportRegistrationBlock_Export_Instance_Func(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.ExportInstance((Func <IBasicService>)null));
 }
コード例 #4
0
 public void ExportRegistrationBlock_Export_Instance_FuncScope_StaticContext_InjectionContext(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.ExportInstance((Func <IExportLocatorScope, StaticInjectionContext, IInjectionContext, IBasicService>)null));
 }
コード例 #5
0
 public void ExportRegistrationBlock_AddModule_Null(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.AddModule(null));
 }
コード例 #6
0
 public void ExportRegistrationBlock_Export_Enuemrable_Null(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.Export((IEnumerable <Type>)null));
 }
コード例 #7
0
 public void ExportRegistrationBlock_Export_Null(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.Export((Type)null));
 }
コード例 #8
0
 public void ExportRegistrationBlock_AddExportStrategyProvider(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.AddExportStrategyProvider(null));
 }
コード例 #9
0
 public void ExportRegistrationBlock_AddActivationStrategy(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.AddActivationStrategy(null));
 }
コード例 #10
0
 public void ExportRegistrationBlock_AddInspector(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.AddInspector(null));
 }
コード例 #11
0
 public void ExportRegistrationBlock_ExportDecorator(ExportRegistrationBlock block)
 {
     Assert.Throws <ArgumentNullException>(() => block.ExportDecorator(null));
 }