protected override void Assemble(LayeredCompositeAssembler assembler)
 {
     assembler
     .NewPlainComposite().OfTypes(typeof(TestComposite))
     .WithMixins(typeof(TestCompositeMixin)).Done()
     .Use(new ModelWideUses());
 }
Esempio n. 2
0
 protected override void Assemble(LayeredArchitecture architecture, LayerArchitecture testPerformerLayer, LayeredCompositeAssembler assembler)
 {
     assembler.NewPlainComposite().OfTypes(typeof(B1Composite)).WithMixins(typeof(BMixin));
 }
Esempio n. 3
0
 /// <summary>
 /// Helper method to call <see cref="E_Qi4CS.NewPlainComposite{T}(Assembler)"/> for <see cref="LayeredCompositeAssembler"/> and returning correctly-typed result.
 /// </summary>
 /// <param name="assembler">The <see cref="LayeredCompositeAssembler"/>-</param>
 /// <returns>The result of <see cref="E_Qi4CS.NewPlainComposite{T}(Assembler)"/> method.</returns>
 /// <seealso cref="E_Qi4CS.NewPlainComposite{T}(Assembler)"/>
 public static LayeredPlainCompositeAssemblyDeclaration NewLayeredPlainComposite(this LayeredCompositeAssembler assembler)
 {
     return(assembler.NewPlainComposite <LayeredPlainCompositeAssemblyDeclaration>());
 }