コード例 #1
0
        public TsMemberConfiguration GetMemberConfiguration(MemberInfo member)
        {
            var configurations = this.Conventions.OfType <IMemberConvention>().Select(o => o.Apply(member)).ToList();

            return(TsNodeConfiguration.Merge(configurations));
        }
コード例 #2
0
        public TsEnumValueConfiguration GetEnumValueConfiguration(FieldInfo enumValue)
        {
            var configurations = this.Conventions.OfType <IEnumValueConvention>().Select(o => o.Apply(enumValue)).ToList();

            return(TsNodeConfiguration.Merge(configurations));
        }
コード例 #3
0
        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));
        }