Пример #1
0
        public PresetMap(PresetMapType type)
        {
            int v = (int)type;

            if (v >= 0 && v < PresetMapEntry.Table.Length)
                this.InitEntry(PresetMapEntry.Table[v]);
        }
Пример #2
0
        public PresetMap( PresetMapType type )
        {
            int v = (int)type;
            name = (string)type.ToString();

            if ( v >= 0 && v < PresetMapEntry.Table.Length )
                InitEntry( PresetMapEntry.Table[v] );
        }
Пример #3
0
        public PresetMap(PresetMapType type)
        {
            int v = (int)type;

            if (v >= 0 && v < PresetMapEntry.Table.Length)
            {
                InitEntry(PresetMapEntry.Table[v]);
            }
        }
Пример #4
0
        public PresetMap(PresetMapType type)
        {
            int v = (int)type;

            name = (string)type.ToString();

            if (v >= 0 && v < PresetMapEntry.Table.Length)
            {
                InitEntry(PresetMapEntry.Table[v]);
            }
        }