2using System.Threading.Tasks;
15 private string definition =
string.Empty;
34 return Grade.NotAtAll;
85 return Task.CompletedTask;
94 this.definition = Definition;
95 return Task.CompletedTask;
107 switch (this.definition)
110 case "EMail":
return Task.FromResult<
object>(
Account.
EMail);
126 if (Obj.TryGetFieldValue(
this.definition, out
object Obj2))
127 return Task.FromResult(Obj2);
130 return Task.FromResult<
object>(
null);
Task Tokenize(object Value, TokenizationProcess Process)
Tokenizes an 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.
Contains information about a broker account.
CaseInsensitiveString PersonalNumber
Phone Number associated with account holder.
CaseInsensitiveString EMail
E-mail address associated with account.
CaseInsensitiveString UserName
User Name of account
CaseInsensitiveString OrgRole
Organization role associated with account holder.
CaseInsensitiveString FirstName
First name associated with account holder.
CaseInsensitiveString Country
Country code associated with account holder.
CaseInsensitiveString LastNames
Last name(s) associated with account holder.
CaseInsensitiveString PhoneNr
Phone number associated with account.
CaseInsensitiveString OrgDepartment
Organization department associated with account holder.
CaseInsensitiveString OrgNumber
Organization number associated with account holder.
CaseInsensitiveString OrgName
Organization name associated with account holder.
CaseInsensitiveString OrgCountry
Country code of organization associated with account holder.
CaseInsensitiveString MiddleNames
Middle name(s) associated with account holder.
Tokenizes (for full-text-search) a broker account.
AccountTokenizer()
Tokenizes (for full-text-search) a broker account.
Task Prepare(string Definition)
Prepares the evaluator with its definition.
async Task Tokenize(object Value, TokenizationProcess Process)
Tokenizes an object.
Task< object > Evaluate(object Instance)
Evaluates the property evaluator, on an object instance.
static Task Tokenize(Account Account, TokenizationProcess Process)
Tokenizes a broker account.
Grade Supports(Type Type)
How well the tokenizer can tokenize objects of type Type .
Custom external property evaluator.
Interface for full-text-search tokenizers