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); }
ServiceFlags exec <T>() { ServiceFlagsProvider provider = new ServiceFlagsProvider(new AttributesFinder(), new MemberGenerator(new MemberFlagsGenerator())); return(provider.ProvideFlags(typeof(T))); }