示例#1
0
        public AnalyticalObject(Action <AnalyticalObjectInitSettings <T> > settings = null)
        {
            initSettings = new AnalyticalObjectInitSettings <T>();

            settings?.Invoke(initSettings);


            TypeMap      = new TypeMap();
            AnalyzedType = typeof(T);
            Name         = AnalyzedType.Name;

            InitTypeMap(AnalyzedType, AnalyzedType.Name, AnalyzedType.Name);
        }
示例#2
0
        public AnalyticalObject(Action <AnalyticalObjectInitSettings <T> > settings = null)
        {
            this.minimumKeyToHierarchy = new Dictionary <string, IEnumerable <string> >();
            initSettings = new AnalyticalObjectInitSettings <T>();

            settings?.Invoke(initSettings);

            AnalyzedType = typeof(T);
            Name         = AnalyzedType.Name;
            TypeMap      = new TypeMap(Name);

            Namer = new Namer(SEPARATOR);

            InitTypeMap(AnalyzedType, AnalyzedType.Name, AnalyzedType.Name);
        }