コード例 #1
0
ファイル: Hydrator.cs プロジェクト: modulexcite/OmniXAML
 public Hydrator(IEnumerable<Type> inflatables, IRuntimeTypeSource typeSource)
 {
     this.inflatables = inflatables;
     this.typeSource = typeSource;
     instructionBuilder = new XamlInstructionBuilder(typeSource);
 }
コード例 #2
0
 protected GivenARuntimeTypeSource()
 {
     RuntimeTypeSource = new TestRuntimeTypeSource();
     X = new XamlInstructionBuilder(RuntimeTypeSource);
     P = new ProtoInstructionBuilder(RuntimeTypeSource);
 }
コード例 #3
0
 protected GivenARuntimeTypeSource()
 {
     RuntimeTypeSource = new TestRuntimeTypeSource();
     X = new XamlInstructionBuilder(RuntimeTypeSource);
     P = new ProtoInstructionBuilder(RuntimeTypeSource);
 }
コード例 #4
0
 public TemplateHostingObjectAssemblerTests()
 {
     x = new XamlInstructionBuilder(WiringContext.TypeContext);
 }
コード例 #5
0
 public TemplateHostingObjectAssemblerTests()
 {
     x = new XamlInstructionBuilder(WiringContext.TypeContext);
 }
コード例 #6
0
 public Hydrator(IEnumerable <Type> inflatables, IWiringContext wiringContext)
 {
     this.inflatables   = inflatables;
     this.wiringContext = wiringContext;
     instructionBuilder = new XamlInstructionBuilder(wiringContext.TypeContext);
 }
コード例 #7
0
 protected GivenAWiringContextWithNodeBuilders(IEnumerable <Assembly> assemblies) : base(assemblies)
 {
     X = new XamlInstructionBuilder(WiringContext.TypeContext);
     P = new ProtoInstructionBuilder(WiringContext.TypeContext);
 }
コード例 #8
0
 protected GivenAWiringContextWithNodeBuilders(IEnumerable<Assembly> assemblies)
     : base(assemblies)
 {
     X = new XamlInstructionBuilder(WiringContext.TypeContext);
     P = new ProtoInstructionBuilder(WiringContext.TypeContext);
 }
コード例 #9
0
 protected GivenARuntimeTypeSourceWithNodeBuilders()
 {
     X = new XamlInstructionBuilder(TypeRuntimeTypeSource);
     P = new ProtoInstructionBuilder(TypeRuntimeTypeSource);
 }
コード例 #10
0
ファイル: Hydrator.cs プロジェクト: furesoft/OmniXAML
 public Hydrator(IEnumerable<Type> inflatables, IWiringContext wiringContext)
 {
     this.inflatables = inflatables;
     this.wiringContext = wiringContext;
     instructionBuilder = new XamlInstructionBuilder(wiringContext.TypeContext);
 }