Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TestParameterConfigurationProvider

    Inheritance
    object
    TestParameterConfigurationProvider
    Implements
    IConfigurationProvider
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Configuration
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class TestParameterConfigurationProvider : IConfigurationProvider

    Constructors

    TestParameterConfigurationProvider(TestParameters)

    Initializes a new instance.

    Declaration
    public TestParameterConfigurationProvider(TestParameters testParameters)
    Parameters
    Type Name Description
    TestParameters testParameters

    The Test Parameter args.

    Methods

    GetChildKeys(IEnumerable<string>, string)

    Returns the list of keys that this provider has.

    Declaration
    public IEnumerable<string> GetChildKeys(IEnumerable<string> earlierKeys, string parentPath)
    Parameters
    Type Name Description
    IEnumerable<string> earlierKeys

    The earlier keys that other providers contain.

    string parentPath

    The path for the parent IConfiguration.

    Returns
    Type Description
    IEnumerable<string>

    The list of keys for this provider.

    GetReloadToken()

    Returns a IChangeToken that can be used to listen when this provider is reloaded.

    Declaration
    [CLSCompliant(false)]
    public IChangeToken GetReloadToken()
    Returns
    Type Description
    IChangeToken

    Load()

    Loads (or reloads) the data for this provider.

    Declaration
    public void Load()

    Set(string, string)

    Sets a value for a given key.

    Declaration
    public void Set(string key, string value)
    Parameters
    Type Name Description
    string key

    The configuration key to set.

    string value

    The value to set.

    TryGet(string, out string)

    Attempts to find a value with the given key, returns true if one is found, false otherwise.

    Declaration
    public bool TryGet(string key, out string value)
    Parameters
    Type Name Description
    string key

    The key to lookup.

    string value

    The value found at key if one is found.

    Returns
    Type Description
    bool

    True if key has a value, false otherwise.

    Implements

    IConfigurationProvider
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.