Class Among
Snowball's among construction.
Inheritance
System.Object
Among
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Tartarus.Snowball
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class Among
Constructors
| Improve this Doc View SourceAmong(String, Int32, Int32)
Initializes a new instance of the Among class.
Declaration
public Among(string str, int index, int result)
Parameters
Type | Name | Description |
---|---|---|
System.String | str | The search string. |
System.Int32 | index | The index to the longest matching substring. |
System.Int32 | result | The result of the lookup. |
Among(String, Int32, Int32, Func<Boolean>)
Initializes a new instance of the Among class.
Declaration
public Among(string str, int index, int result, Func<bool> action)
Parameters
Type | Name | Description |
---|---|---|
System.String | str | The search string. |
System.Int32 | index | The index to the longest matching substring. |
System.Int32 | result | The result of the lookup. |
System.Func<System.Boolean> | action | The action to be performed, if any. |
Properties
| Improve this Doc View SourceAction
Action to be invoked.
Declaration
public Func<bool> Action { get; }
Property Value
Type | Description |
---|---|
System.Func<System.Boolean> |
MatchIndex
Index to longest matching substring.
Declaration
public int MatchIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Result
Result of the lookup.
Declaration
public int Result { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SearchString
Search string.
Declaration
public string SearchString { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents this instance. |
Overrides
System.Object.ToString()