Show / Hide Table of Contents

    Class TypeAttribute

    Default implementation of ITypeAttribute.

    Inheritance
    System.Object
    Attribute
    TypeAttribute
    Implements
    ITypeAttribute
    IAttribute
    Inherited Members
    Attribute.ReflectAsString(Boolean)
    Attribute.ReflectWith(IAttributeReflector)
    Attribute.ToString()
    Attribute.Clone()
    Namespace: Lucene.Net.Analysis.TokenAttributes
    Assembly: Lucene.Net.dll
    Syntax
    public class TypeAttribute : Attribute, ITypeAttribute, IAttribute

    Constructors

    | Improve this Doc View Source

    TypeAttribute()

    Initialize this attribute with DEFAULT_TYPE

    Declaration
    public TypeAttribute()
    | Improve this Doc View Source

    TypeAttribute(String)

    Initialize this attribute with type

    Declaration
    public TypeAttribute(string type)
    Parameters
    Type Name Description
    System.String type

    Fields

    | Improve this Doc View Source

    DEFAULT_TYPE

    the default type

    Declaration
    public const string DEFAULT_TYPE = null
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    Type

    Declaration
    public virtual string Type { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Clear()

    Declaration
    public override void Clear()
    Overrides
    Attribute.Clear()
    | Improve this Doc View Source

    CopyTo(IAttribute)

    Declaration
    public override void CopyTo(IAttribute target)
    Parameters
    Type Name Description
    IAttribute target
    Overrides
    Attribute.CopyTo(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
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Implements

    ITypeAttribute
    IAttribute
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)