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); }
public virtual void ParseProvider(TypeProvider provider, MemberKind kind = MemberKind.All) { AddTypeProvider(provider); provider.Parse(kind); AddToAttribute(provider); }