예제 #1
0
 public void Accept(IDefinitionVisitor visitor)
 {
     ArgumentUtility.CheckNotNull("visitor", visitor);
     visitor.Visit(this);
     _introducedMethods.Accept(visitor);
     _introducedProperties.Accept(visitor);
     _introducedEvents.Accept(visitor);
 }
        public void Accept(IDefinitionVisitor visitor)
        {
            ArgumentUtility.CheckNotNull("visitor", visitor);

            ChildSpecificAccept(visitor);

            _methods.Accept(visitor);
            _properties.Accept(visitor);
            _events.Accept(visitor);
            CustomAttributes.Accept(visitor);
        }
예제 #3
0
        protected override void ChildSpecificAccept(IDefinitionVisitor visitor)
        {
            ArgumentUtility.CheckNotNull("visitor", visitor);

            visitor.Visit(this);

            _mixins.Accept(visitor);
            _requiredTargetCallTypes.Accept(visitor);
            _requiredNextCallTypes.Accept(visitor);
            _requiredMixinTypes.Accept(visitor);
            _composedInterfaceDependencies.Accept(visitor);
        }
        protected override void ChildSpecificAccept(IDefinitionVisitor visitor)
        {
            ArgumentUtility.CheckNotNull("visitor", visitor);

            visitor.Visit(this);

            _interfaceIntroductions.Accept(visitor);
            _nonInterfaceIntroductions.Accept(visitor);

            AttributeIntroductions.Accept(visitor);
            NonAttributeIntroductions.Accept(visitor);
            SuppressedAttributeIntroductions.Accept(visitor);

            _targetCallDependencies.Accept(visitor);
            _nextCallDependencies.Accept(visitor);
            _mixinDependencies.Accept(visitor);
        }
 public void Accept(IDefinitionVisitor visitor)
 {
     ArgumentUtility.CheckNotNull("visitor", visitor);
     ConcreteAccept(visitor);
     _methods.Accept(visitor);
 }