Пример #1
0
        public MixinModel(Type mixinType)
        {
            this.MixinType = mixinType;

            this.injectedObjectBuilder = new InjectedObjectBuilder(mixinType);

            var concerns = new List<ConcernDeclaration>();
            ConcernsDeclaration.ConcernDeclarations(mixinType, concerns);
            this.concernsDeclaration = new ConcernsDeclaration(concerns);
            this.sideEffectsDeclaration = new SideEffectsDeclaration(mixinType, Enumerable.Empty<Type>());

            this.thisMixinTypes = this.BuildThisMixinTypes();
        }
Пример #2
0
        public MixinModel(Type mixinType)
        {
            this.MixinType = mixinType;

            this.injectedObjectBuilder = new InjectedObjectBuilder(mixinType);

            var concerns = new List <ConcernDeclaration>();

            ConcernsDeclaration.ConcernDeclarations(mixinType, concerns);
            this.concernsDeclaration    = new ConcernsDeclaration(concerns);
            this.sideEffectsDeclaration = new SideEffectsDeclaration(mixinType, Enumerable.Empty <Type>());

            this.thisMixinTypes = this.BuildThisMixinTypes();
        }
Пример #3
0
        public AbstractModifierModel(Type modifierType)
        {
            this.modifierType = modifierType;

            this.injectedObjectBuilder = new InjectedObjectBuilder(modifierType);
        }
Пример #4
0
        public AbstractModifierModel(Type modifierType)
        {
            this.modifierType = modifierType;

            this.injectedObjectBuilder = new InjectedObjectBuilder(modifierType);
        }