• API

    Show / Hide Table of Contents

    Class TestParameterConfigurationProvider

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

    Constructors

    | Improve this Doc View Source

    TestParameterConfigurationProvider(TestParameters)

    Initializes a new instance.

    Declaration
    public TestParameterConfigurationProvider(TestParameters testParameters)
    Parameters
    Type Name Description
    NUnit.Framework.TestParameters testParameters

    The Test Parameter args.

    Methods

    | Improve this Doc View Source

    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
    System.Collections.Generic.IEnumerable<System.String> earlierKeys

    The earlier keys that other providers contain.

    System.String parentPath

    The path for the parent IConfiguration.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.String>

    The list of keys for this provider.

    | Improve this Doc View Source

    GetReloadToken()

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

    Declaration
    [CLSCompliant(false)]
    public IChangeToken GetReloadToken()
    Returns
    Type Description
    Microsoft.Extensions.Primitives.IChangeToken
    | Improve this Doc View Source

    Load()

    Loads (or reloads) the data for this provider.

    Declaration
    public void Load()
    | Improve this Doc View Source

    Set(String, String)

    Sets a value for a given key.

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

    The configuration key to set.

    System.String value

    The value to set.

    | Improve this Doc View Source

    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
    System.String key

    The key to lookup.

    System.String value

    The value found at key if one is found.

    Returns
    Type Description
    System.Boolean

    True if key has a value, false otherwise.

    Implements

    Microsoft.Extensions.Configuration.IConfigurationProvider
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)