public TsMemberConfiguration GetMemberConfiguration(MemberInfo member)
        {
            var configurations = this.Conventions.OfType <IMemberConvention>().Select(o => o.Apply(member)).ToList();

            return(TsNodeConfiguration.Merge(configurations));
        }
        public TsEnumValueConfiguration GetEnumValueConfiguration(FieldInfo enumValue)
        {
            var configurations = this.Conventions.OfType <IEnumValueConvention>().Select(o => o.Apply(enumValue)).ToList();

            return(TsNodeConfiguration.Merge(configurations));
        }
        public TsNodeConfiguration GetConfiguration(Type t)
        {
            var configurations = this.Conventions.OfType <IModuleMemberConvention>().Select(o => o.Apply(t)).ToList();

            return(TsNodeConfiguration.Merge(configurations));
        }
예제 #4
0
        public TsMemberConfiguration GetMemberConfiguration(MemberInfo member)
        {
            var configurations = this.Providers.Select(o => o.GetMemberConfiguration(member)).OfType <TsMemberConfiguration>().ToList();

            return(TsNodeConfiguration.Merge(configurations));
        }
예제 #5
0
        public TsEnumValueConfiguration GetEnumValueConfiguration(FieldInfo enumValue)
        {
            var configurations = this.Providers.Select(o => o.GetEnumValueConfiguration(enumValue)).OfType <TsEnumValueConfiguration>().ToList();

            return(TsNodeConfiguration.Merge(configurations));
        }
예제 #6
0
        public TsNodeConfiguration GetConfiguration(Type t)
        {
            var configurations = this.Providers.Select(o => o.GetConfiguration(t)).OfType <TsModuleMemberConfiguration>().ToList();

            return(TsNodeConfiguration.Merge(configurations));
        }