Class CheckClearAttributesAttribute
Attribute that records if it was cleared or not. this is used for testing that Lucene.Net.Util.AttributeSource.ClearAttributes() was called correctly.
Inheritance
System.Object
Lucene.Net.Util.Attribute
CheckClearAttributesAttribute
Inherited Members
Lucene.Net.Util.Attribute.ReflectAsString(System.Boolean)
Lucene.Net.Util.Attribute.ReflectWith(Lucene.Net.Util.IAttributeReflector)
Lucene.Net.Util.Attribute.ToString()
Lucene.Net.Util.Attribute.Clone()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public sealed class CheckClearAttributesAttribute : Attribute, ICheckClearAttributesAttribute, IAttribute
Methods
| Improve this Doc View SourceClear()
Declaration
public override void Clear()
Overrides
Lucene.Net.Util.Attribute.Clear()
|
Improve this Doc
View Source
CopyTo(IAttribute)
Declaration
public override void CopyTo(IAttribute target)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.IAttribute | target |
Overrides
Lucene.Net.Util.Attribute.CopyTo(Lucene.Net.Util.IAttribute)
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetAndResetClearCalled()
Declaration
public bool GetAndResetClearCalled()
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Implements
Lucene.Net.Util.IAttribute