Class PropertySelector
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The class contains the collection of object property names. The fields are matched on case-insensitive basis and included or excluded from the result, depending on isIncluded flag.
public class PropertySelector : FieldSelector
- Inheritance
-
PropertySelector
- Inherited Members
Constructors
PropertySelector()
Initializes a new instance of the PropertySelector class.
public PropertySelector()
Fields
AllJson
Gets the JSON string value that represents All.
public const string AllJson = "allPropertySelector"
Field Value
Properties
All
Gets the PropertySelector value that represents all fields being selected. .
public static PropertySelector All { get; }
Property Value
- PropertySelector
The PropertySelector of all selected fields.
Methods
Clone()
Clone this PropertySelector instance.
public virtual PropertySelector Clone()
Returns
- PropertySelector
New clone instance of this PropertySelector instance.
Get(IEnumerable<string>, bool, bool)
Initializes a new instance of the PropertySelector class.
public static PropertySelector Get(IEnumerable<string> fields, bool isIncluded, bool isStaticFields = false)
Parameters
fields
IEnumerable<string>The field names ICollection<T> to include or exclude from the result.
isIncluded
boolA value indicating whether the Fields are to be included or excluded.
isStaticFields
boolA value indicating whether the Fields are to be immutable or not.
Returns
- PropertySelector
The PropertySelector instance.