Show / Hide Table of Contents

    Class PayloadAttribute

    Default implementation of IPayloadAttribute.

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

    Constructors

    | Improve this Doc View Source

    PayloadAttribute()

    Initialize this attribute with no payload.

    Declaration
    public PayloadAttribute()
    | Improve this Doc View Source

    PayloadAttribute(BytesRef)

    Initialize this attribute with the given payload.

    Declaration
    public PayloadAttribute(BytesRef payload)
    Parameters
    Type Name Description
    BytesRef payload

    Properties

    | Improve this Doc View Source

    Payload

    Declaration
    public virtual BytesRef Payload { get; set; }
    Property Value
    Type Description
    BytesRef

    Methods

    | Improve this Doc View Source

    Clear()

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

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object
    Overrides
    Attribute.Clone()
    | 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

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