Beispiel #1
0
 internal EnumFieldValue(ResourceValueList elements, EnumFieldType type)
 {
     _type = type;
     _elements = elements;
     if (_elements.Count > 0)
         SelectedElementIndex = 0;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:EnumElementFieldValue"/> class.
 /// </summary>
 /// <param name="fields">The fields.</param>
 /// <param name="type">The type.</param>
 internal EnumElementFieldValue(ResourceValueList fields, EnumElementFieldType type)
 {
     _type = type;
     _fields = fields;
 }