Ejemplo n.º 1
0
 private ServiceModel(Type compositeType, Visibility visibility, MetaInfo metaInfo, AbstractMixinsModel mixinsModel, AbstractStateModel stateModel, CompositeMethodsModel compositeMethodsModel, string moduleName, string identity, bool instantiateOnStartup)
         : base(compositeType, visibility, metaInfo, mixinsModel, stateModel, compositeMethodsModel)
 {
     this.moduleName = moduleName;
     this.identity = identity;
     this.instantiateOnStartup = instantiateOnStartup;
 }
Ejemplo n.º 2
0
 public CompositeMethodModel(MethodConstraintsModel methodConstraintsModel,
                             MethodConcernsModel methodConcernsModel,
                             MethodSideEffectsModel methodSideEffectsModel,
                             AbstractMixinsModel mixinsModel)
 {
     this.mixins = mixinsModel;
     this.methodConcerns = methodConcernsModel;
     this.methodSideEffects = methodSideEffectsModel;
     this.methodConstraints = methodConstraintsModel;
     this.methodConstraintsInstance = this.methodConstraints.NewInstance();
 }
Ejemplo n.º 3
0
 public CompositeMethodModel(MethodConstraintsModel methodConstraintsModel,
                             MethodConcernsModel methodConcernsModel,
                             MethodSideEffectsModel methodSideEffectsModel,
                             AbstractMixinsModel mixinsModel)
 {
     this.mixins                    = mixinsModel;
     this.methodConcerns            = methodConcernsModel;
     this.methodSideEffects         = methodSideEffectsModel;
     this.methodConstraints         = methodConstraintsModel;
     this.methodConstraintsInstance = this.methodConstraints.NewInstance();
 }
Ejemplo n.º 4
0
 public CompositeMethodsModel(Type compositeType, ConstraintsModel constraintsModel, ConcernsDeclaration concernsModel, SideEffectsDeclaration sideEffectsModel, AbstractMixinsModel mixinsModel)
 {
     this.methods          = new Dictionary <MethodInfo, CompositeMethodModel>();
     this.properties       = new List <PropertyInfo>();
     this.compositeType    = compositeType;
     this.concernsModel    = concernsModel;
     this.sideEffectsModel = sideEffectsModel;
     this.mixinsModel      = mixinsModel;
     this.constraintsModel = constraintsModel;
     this.BuildMixinsModel(compositeType);
     this.ImplementMixinMethods();
 }
Ejemplo n.º 5
0
 public CompositeMethodsModel(Type compositeType, ConstraintsModel constraintsModel, ConcernsDeclaration concernsModel, SideEffectsDeclaration sideEffectsModel, AbstractMixinsModel mixinsModel)
 {
     this.methods = new Dictionary<MethodInfo, CompositeMethodModel>();
     this.properties = new List<PropertyInfo>();
     this.compositeType = compositeType;
     this.concernsModel = concernsModel;
     this.sideEffectsModel = sideEffectsModel;
     this.mixinsModel = mixinsModel;
     this.constraintsModel = constraintsModel;
     this.BuildMixinsModel(compositeType);
     this.ImplementMixinMethods();
 }
Ejemplo n.º 6
0
        protected AbstractCompositeModel(Type compositeType, Visibility visibility, MetaInfo metaInfo, AbstractMixinsModel mixinsModel, AbstractStateModel stateModel, CompositeMethodsModel compositeMethodsModel)
        {
            this.compositeType = compositeType;
            this.visibility = visibility;
            this.metaInfo = metaInfo;
            this.stateModel = stateModel;

            // Create proxy class
            this.proxyType = CreateProxyType(compositeType);

            this.mixinsModel = mixinsModel;

            this.compositeMethodsModel = compositeMethodsModel;
        }
Ejemplo n.º 7
0
        protected AbstractCompositeModel(Type compositeType, Visibility visibility, MetaInfo metaInfo, AbstractMixinsModel mixinsModel, AbstractStateModel stateModel, CompositeMethodsModel compositeMethodsModel)
        {
            this.compositeType = compositeType;
            this.visibility    = visibility;
            this.metaInfo      = metaInfo;
            this.stateModel    = stateModel;

            // Create proxy class
            this.proxyType = CreateProxyType(compositeType);

            this.mixinsModel = mixinsModel;

            this.compositeMethodsModel = compositeMethodsModel;
        }
Ejemplo n.º 8
0
 private ValueModel(Type compositeType, Visibility visibility, MetaInfo metaInfo, AbstractMixinsModel mixinsModel, AbstractStateModel stateModel, CompositeMethodsModel compositeMethodsModel)
     : base(compositeType, visibility, metaInfo, mixinsModel, stateModel, compositeMethodsModel)
 {
 }
Ejemplo n.º 9
0
 public EntityModel(Type compositeType, Visibility visibility, MetaInfo metaInfo, AbstractMixinsModel mixinsModel, AbstractStateModel stateModel, CompositeMethodsModel compositeMethodsModel) : base(compositeType, visibility, metaInfo, mixinsModel, stateModel, compositeMethodsModel)
 {
 }
Ejemplo n.º 10
0
 private ServiceModel(Type compositeType, Visibility visibility, MetaInfo metaInfo, AbstractMixinsModel mixinsModel, AbstractStateModel stateModel, CompositeMethodsModel compositeMethodsModel, string moduleName, string identity, bool instantiateOnStartup)
     : base(compositeType, visibility, metaInfo, mixinsModel, stateModel, compositeMethodsModel)
 {
     this.moduleName           = moduleName;
     this.identity             = identity;
     this.instantiateOnStartup = instantiateOnStartup;
 }