コード例 #1
0
 internal EnumFieldValue(ResourceValueList elements, EnumFieldType type)
 {
     _type = type;
     _elements = elements;
     if (_elements.Count > 0)
         SelectedElementIndex = 0;
 }
コード例 #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;
 }