示例#1
0
        public virtual void Visit(ITypeDefinitionMember typeMember)
        {
            ITypeDefinition nestedType = typeMember as INestedTypeDefinition;

            if (nestedType != null)
            {
                this.Visit(nestedType);
            }
            else
            {
                this.Visit(typeMember.GetAttributes(Context));

                typeMember.Dispatch(this);
            }
        }
示例#2
0
        public virtual void Visit(ITypeDefinitionMember typeMember)
        {
            ITypeDefinition nestedType = typeMember as INestedTypeDefinition;
            if (nestedType != null)
            {
                this.Visit(nestedType);
            }
            else
            {
                this.Visit(typeMember.GetAttributes(Context));

                typeMember.Dispatch(this);
            }
        }