コード例 #1
0
        protected override LayeredApplicationModel CreateModel(LayeredArchitecture architecture)
        {
            architecture.Use(new ApplicationWideUses());
            LayerArchitecture layer = architecture.GetOrCreateLayer(LAYER_NAME);

            layer.Use(new LayerWideUses());
            ModuleArchitecture module = layer.GetOrCreateModule(MODULE_NAME);

            module.Use(new ModuleWideUses());

            return(base.CreateModel(architecture));
        }
コード例 #2
0
 internal LayeredCompositeAssemblerImpl(ModuleArchitecture moduleArchitecture, Func <Int32> newCompositeIDRequestor, DictionaryQuery <CompositeModelType, CompositeModelTypeAssemblyScopeSupport> modelSupport, UsesContainerMutable parentContainer, CollectionsFactory collectionsFactory)
     : base(moduleArchitecture.Layer.Architecture, newCompositeIDRequestor, modelSupport, parentContainer, collectionsFactory)
 {
     this._module = moduleArchitecture;
 }