protected override void PostProcessModel(CompositeModelMutable model, CompositeAssemblyInfo info, String architectureContainerID) { ServiceCompositeAssemblyInfo sInfo = (ServiceCompositeAssemblyInfo)info; ServiceCompositeModelMutable sModel = (ServiceCompositeModelMutable)model; sModel.ServiceID = sInfo.ServiceID ?? ("[" + architectureContainerID + String.Join(", ", model.IQ.PublicTypes.Select(pType => QualifiedName.GetTypeName(pType))) + "]"); sModel.ActivateWithApplication = sInfo.ActivateWithApplication; }
protected override void CreateCompositeModelObjects(CompositeAssemblyInfo info, CollectionsFactory factory, out CompositeModelState state, out CompositeModelImmutable resultImmutable, out CompositeModelMutable result) { state = new ServiceCompositeModelState(factory); resultImmutable = new ServiceCompositeModelImmutable((ServiceCompositeModelState)state); result = new ServiceCompositeModelMutable((ServiceCompositeModelState)state, (ServiceCompositeModel)resultImmutable); }
protected override void PostProcessModel(CompositeModelMutable model, Assembling.CompositeAssemblyInfo info, String architectureContainerID) { // TODO Search for overridden Equals-method? }