public ServiceCompositeModelMutable(ServiceCompositeModelState state, ServiceCompositeModel immutable)
     : base(state, immutable)
 {
     this._state     = state;
     this._immutable = immutable;
 }
 public ServiceCompositeModelImmutable(ServiceCompositeModelState state)
     : base(state)
 {
     this._state = state;
 }
Example #3
0
 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);
 }