Search Results for

    Show / Hide Table of Contents

    Class CorePluginInfo<TPlugin>

    Defines a CorePlugin information class that can instance the plug-in instance.

    Inheritance
    System.Object
    CorePluginInfo<TPlugin>
    Implements
    ICorePluginInfo
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Core.Common.Data
    Assembly: ImageVault.Core.dll
    Syntax
    public class CorePluginInfo<TPlugin> : ICorePluginInfo where TPlugin : class
    Type Parameters
    Name Description
    TPlugin

    Constructors

    CorePluginInfo(Int32, TPlugin, String, Nullable<Int32>)

    Initializes a new instance of the CorePluginInfo<TPlugin> class.

    Declaration
    public CorePluginInfo(int id, TPlugin instance, string config = null, int? priority = null)
    Parameters
    Type Name Description
    System.Int32 id
    TPlugin instance
    System.String config
    System.Nullable<System.Int32> priority
    Exceptions
    Type Condition
    System.ArgumentNullException

    If instance is null.

    CorePluginInfo(Int32, String, String, Nullable<Int32>)

    Initializes a new instance of the CorePluginInfo class.

    Declaration
    public CorePluginInfo(int id, string typeName, string config, int? priority = null)
    Parameters
    Type Name Description
    System.Int32 id
    System.String typeName
    System.String config

    The configuration for the specific instance

    System.Nullable<System.Int32> priority

    The priority of the plugin

    Properties

    Config

    Configuration for the plugin

    Declaration
    public string Config { get; }
    Property Value
    Type Description
    System.String

    Id

    Id of the configured plugin

    Declaration
    public int Id { get; }
    Property Value
    Type Description
    System.Int32

    Instance

    Get/Sets the Instance of the CorePluginInfo

    Declaration
    public TPlugin Instance { get; }
    Property Value
    Type Description
    TPlugin

    Priority

    Gets the priority of the plugin

    Declaration
    public int? Priority { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    TypeName

    Get/Sets the TypeName of the CorePluginInfo

    Declaration
    public string TypeName { get; }
    Property Value
    Type Description
    System.String

    Implements

    ICorePluginInfo
    In This Article
    Back to top (c) Meriworks 2002-2022