예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="EhfaStructure" /> class.
        /// </summary>
        /// <param name="type">The structure type.</param>
        /// <exception cref="ArgumentNullException">The type is null.</exception>
        public EhfaStructure(EhfaStructureType type)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type), "The type is null.");
            }

            _objects         = new Dictionary <String, IEhfaObject>();
            _objectLocations = new Dictionary <String, List <IEhfaObject> >();
            _type            = type;
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EhfaEntry" /> class.
 /// </summary>
 /// <param name="structureType">The EHFA structure type.</param>
 /// <param name="dictionary">The HFA dictionary where the entry is located.</param>
 public EhfaEntry(EhfaStructureType structureType, HfaDictionary dictionary) : base(structureType)
 {
     Dictionary = dictionary;
 }