public AssignableDocumentAttribute(AssignableField[] fields) { _fields = fields.Cast<Enum>().ToList(); }
public AssignableIndexAttribute(AssignableField[] fields) { _fields = fields.Cast<Enum>().ToList(); }
public AssignableIndexAttribute(AssignableField[] fields) { var customFields = CustomFieldsProvider.Instance.GetCustomFields<AssignableField>(); _fields = fields.Cast<Enum>().Concat(customFields).ToList(); }