3using System.Threading.Tasks;
32 if (typeof(IEnumerable<Property>).IsAssignableFrom(Type))
35 return Grade.NotAtAll;
45 if (Value is IEnumerable<Property> Properties)
48 return Task.CompletedTask;
59 if (!(Properties is
null))
75 return Task.CompletedTask;
83 public async Task<object>
Evaluate(
object Instance)
86 return Identity.Properties;
89 if (Obj.TryGetFieldValue(
"Properties", out
object Obj2) &&
97 foreach (
object Item
in A)
104 else if (Item is
Property Property2)
105 Properties.Add(Property2);
111 else if (Instance is IEnumerable<Property> Properties)
Static interface for database persistence. In order to work, a database provider has to be assigned t...
static Task< object > Specialize(GenericObject Object)
Creates a specialized representation of a generic object.
Contains information about a tokenization process.
uint DocumentIndexOffset
Document Index Offset. Used to identify sequences of tokens in a document.
Generic object. Contains a sequence of properties.
A chunked list is a linked list of chunks of objects of type T .
PropertiesTokenizer()
Tokenizes a role.
static void Tokenize(IEnumerable< Property > Properties, TokenizationProcess Process)
Tokenizes a set of properties.
Grade Supports(Type Type)
How well the tokenizer can tokenize objects of type Type .
async Task< object > Evaluate(object Instance)
Evaluates the property evaluator, on an object instance.
Task Tokenize(object Value, TokenizationProcess Process)
Tokenizes an object.
Task Prepare(string Definition)
Prepares the evaluator with its definition.
Task Tokenize(object Value, TokenizationProcess Process)
Tokenizes an object.
Custom external property evaluator.
Interface for full-text-search tokenizers