예제 #1
0
        protected virtual TypeProvider CreateTypeProvider(Type type, MemberKind kind = MemberKind.All)
        {
            var provider = new TypeProvider(this, type);

            AddTypeProvider(provider);
            provider.Parse(kind);
            AddToAttribute(provider);
            return(provider);
        }
예제 #2
0
 public virtual void ParseProvider(TypeProvider provider, MemberKind kind = MemberKind.All)
 {
     AddTypeProvider(provider);
     provider.Parse(kind);
     AddToAttribute(provider);
 }