Show / Hide Table of Contents

    Class ServiceNameAttribute

    LUCENENET specific abstract class for s that can be used to override the default convention-based names of services. For example, "Lucene40Codec" will by convention be named "Lucene40". Using the CodecNameAttribute, the name can be overridden with a custom value.

    Inheritance
    System.Object
    ServiceNameAttribute
    CodecNameAttribute
    DocValuesFormatNameAttribute
    PostingsFormatNameAttribute
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class ServiceNameAttribute : System.Attribute

    Constructors

    | Improve this Doc View Source

    ServiceNameAttribute(String)

    Sole constructor. Initializes the service name.

    Declaration
    public ServiceNameAttribute(string name)
    Parameters
    Type Name Description
    System.String name

    Properties

    | Improve this Doc View Source

    Name

    Gets the service name.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)