示例#1
0
        IEnumerable <IMember> exec <T>()
        {
            ServiceFlagsProvider provider = new ServiceFlagsProvider(new AttributesFinder(), new MemberGenerator(new MemberFlagsGenerator()));
            ServiceFlags         flags    = provider.ProvideFlags(typeof(T));

            IEnumerable <IMember> members = new InstanceMembersProvider().ProvideMembers(flags);

            return(members);
        }
示例#2
0
        ServiceFlags exec <T>()
        {
            ServiceFlagsProvider provider = new ServiceFlagsProvider(new AttributesFinder(), new MemberGenerator(new MemberFlagsGenerator()));

            return(provider.ProvideFlags(typeof(T)));
        }