public GeneralDocumentAttribute(GeneralField[] fields) { _fields = fields.Cast<Enum>().ToList(); }
public GeneralIndexAttribute(GeneralField[] fields) { var customFields = CustomFieldsProvider.Instance.GetCustomFields<GeneralField>(); _fields = fields.Cast<Enum>().Concat(customFields).ToArray(); }
public GeneralIndexAttribute(GeneralField[] fields) { _fields = fields.Cast<Enum>().ToArray(); }