Search Results for

    Show / Hide Table of Contents

    Class Plugins

    Inheritance
    Object
    Plugins
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Acoustics.Shared
    Assembly: Acoustics.Shared.dll
    Syntax
    public class Plugins

    Methods

    | Improve this Doc View Source

    GetPlugins<T>(String)

    Get plugins from executing assembly.

    Declaration
    public static IEnumerable<T> GetPlugins<T>(string interfaceName)
        where T : class
    Parameters
    Type Name Description
    String interfaceName

    The interface name.

    Returns
    Type Description
    IEnumerable<T>

    Enumerable of plugins.

    Type Parameters
    Name Description
    T

    The type of the plugins.

    | Improve this Doc View Source

    GetPlugins<T>(String, IEnumerable<DirectoryInfo>, String[])

    Get plugins from directories.

    Declaration
    public static IEnumerable<T> GetPlugins<T>(string interfaceName, IEnumerable<DirectoryInfo> directories, params string[] searchPatterns)
        where T : class
    Parameters
    Type Name Description
    String interfaceName

    The interface Name.

    IEnumerable<DirectoryInfo> directories

    The directories.

    String[] searchPatterns

    The search Patterns.

    Returns
    Type Description
    IEnumerable<T>

    Enumerable of plugins.

    Type Parameters
    Name Description
    T

    The type of the plugins.

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top