예제 #1
0
 public SpecialImportingConstructorPart([Import("Special"), MefV1.Import("Special")] RandomExportWithContractName specialExport, RandomExport randomExport)
 {
     Assert.NotNull(specialExport);
     Assert.NotNull(randomExport);
 }
예제 #2
0
 private PrivateImportingConstructorOpenGenericPart(RandomExport export)
 {
     Assert.NotNull(export);
 }
예제 #3
0
 public SimpleImportingConstructorPart(RandomExport export)
 {
     Assert.NotNull(export);
 }
예제 #4
0
 public PartWithAllowDefaultImportingConstructor([Import(AllowDefault = true), MefV1.Import(AllowDefault = true)] RandomExport export)
 {
     this.ConstructorArg = export;
 }