예제 #1
0
        public InterfaceIntroductionDefinition(Type type, MixinDefinition implementer)
        {
            ArgumentUtility.CheckNotNull("type", type);
            ArgumentUtility.CheckNotNull("implementer", implementer);

            InterfaceType = type;
            Implementer   = implementer;
        }
        public NonInterfaceIntroductionDefinition(Type type, MixinDefinition implementer, bool explicitSuppression)
        {
            ArgumentUtility.CheckNotNull("type", type);
            ArgumentUtility.CheckNotNull("implementer", implementer);

            InterfaceType          = type;
            Implementer            = implementer;
            IsExplicitlySuppressed = explicitSuppression;
        }
예제 #3
0
 public MixinDependencyDefinition(RequiredMixinTypeDefinition requiredType, MixinDefinition dependingMixin, MixinDependencyDefinition aggregator)
     : base(requiredType, aggregator)
 {
     ArgumentUtility.CheckNotNull("dependingMixin", dependingMixin);
     _dependingMixin = dependingMixin;
 }