Class ContentSearchOptions
Inheritance
ContentSearchOptions
Assembly: Estrelica.Interfaces.dll
Syntax
public class ContentSearchOptions : ISearchOptions, ISearchDisplayFieldOptions
Fields
Declaration
public IArcherLevel level
Field Value
Declaration
public IArcherModule module
Field Value
Declaration
public string moduleAlias
Field Value
Properties
Declaration
public HashSet<int> expectedIds { get; set; }
Property Value
Implements
Declaration
public IEnumerable<XElement> filterConditions { get; set; }
Property Value
Implements
Declaration
public Func<IArcherField, IEnumerable<IArcherField>, IEnumerable<IArcherField>> filterContainedDisplayFields { get; set; }
Property Value
Implements
Declaration
public string filterOperatorLogic { get; set; }
Property Value
Implements
Declaration
public Func<IArcherField, bool> includeFieldCallback { get; set; }
Property Value
Implements
Declaration
public IEnumerable<int> includeFieldIds { get; set; }
Property Value
Implements
Declaration
public DateTime? modifiedSince { get; set; }
Property Value
Implements
Declaration
public int? pageSizeOverride { get; set; }
Property Value
Implements
Declaration
public Action<RecordCountType, int> recordCountCallback { get; set; }
Property Value
Implements
Declaration
public Action<string> searchXmlPreview { get; set; }
Property Value
Implements
Declaration
public IEnumerable<SortField> sortFields { get; set; }
Property Value
Implements
Methods
Declaration
public ISearchOptions AddDisplayField(IArcherField displayField)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddDisplayField(int displayFieldId)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddDisplayFields(params IArcherField[] displayFields)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddDisplayFields(IEnumerable<IArcherField> displayFields)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddDisplayFields(IEnumerable<int> displayFieldIds)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddDisplayFields(params int[] displayFieldIds)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddFilterCondition(XElement filterCondition)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddFilterConditions(IEnumerable<XElement> filterConditions)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddSortField(SortField sortField)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddSortField(IArcherField sortField, SortType sortType = SortType.Ascending)
Parameters
Returns
Implements
Declaration
public ISearchOptions AddSortField(int sortFieldId, SortType sortType = SortType.Ascending)
Parameters
Returns
Implements
Declaration
public ISearchOptions ContainedDisplayFieldsFilter(Func<IArcherField, IEnumerable<IArcherField>, IEnumerable<IArcherField>> filterContainedDisplayFields)
Parameters
Returns
Implements
Declaration
public ISearchOptions FilterOperatorLogic(string filterOperatorLogic)
Parameters
Returns
Implements
Declaration
public ISearchOptions IncludeDisplayFieldCallback(Func<IArcherField, bool> includeFieldCallback)
Parameters
Returns
Implements
Declaration
public ISearchOptions PageSize(int pageSizeOverride)
Parameters
Returns
Implements
Declaration
public ISearchOptions RecordCountCallback(Action<RecordCountType, int> recordCountCallback)
Parameters
Returns
Implements
Declaration
public ISearchOptions SearchXmlPreview(Action<string> searchXmlPreview, bool includeXmlComments = false)
Parameters
Returns
Implements
Extension Methods