Class DotNetPluginInfo
Plugins information collection.
Implements the
Inheritance
Implements
Inherited Members
Namespace: AIMP.SDK
Assembly: AIMP.SDK.dll
Syntax
public class DotNetPluginInfo : ICollection<PluginInformation>, IEnumerable<PluginInformation>, IEnumerable
Constructors
DotNetPluginInfo()
Initializes a new instance of the DotNetPluginInfo class.
Declaration
public DotNetPluginInfo()
DotNetPluginInfo(IEnumerable<PluginInformation>)
Initializes a new instance of the DotNetPluginInfo class.
Declaration
public DotNetPluginInfo(IEnumerable<PluginInformation> pluginInformations)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<PluginInformation> | pluginInformations | The plugin informations. |
Properties
Count
Gets the number of elements contained in the System.Collections.Generic.ICollection<T>.
Declaration
public int Count { get; }
Implements
IsReadOnly
Gets a value indicating whether the System.Collections.Generic.ICollection<T> is read-only.
Declaration
public bool IsReadOnly { get; }
Implements
Item[Int32]
Gets the PluginInformation with the specified identifier.
Declaration
public PluginInformation this[int id] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The identifier. |
Methods
Add(PluginInformation)
Adds an item to the System.Collections.Generic.ICollection<T>.
Declaration
public void Add(PluginInformation item)
Parameters
Type | Name | Description |
---|---|---|
PluginInformation | item | The object to add to the System.Collections.Generic.ICollection<T>. |
Implements
AddRange(IEnumerable<PluginInformation>)
Adds the range.
Declaration
public void AddRange(IEnumerable<PluginInformation> col)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<PluginInformation> | col | The col. |
Clear()
Removes all items from the System.Collections.Generic.ICollection<T>.
Declaration
public void Clear()
Implements
Contains(PluginInformation)
Determines whether the System.Collections.Generic.ICollection<T> contains a specific value.
Declaration
public bool Contains(PluginInformation item)
Parameters
Type | Name | Description |
---|---|---|
PluginInformation | item | The object to locate in the System.Collections.Generic.ICollection<T>. |
Implements
CopyTo(PluginInformation[], Int32)
Copies to.
Declaration
public void CopyTo(PluginInformation[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
PluginInformation[] | array | The array. |
System.Int32 | arrayIndex | Index of the array. |
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<PluginInformation> GetEnumerator()
Implements
Remove(PluginInformation)
Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection<T>.
Declaration
public bool Remove(PluginInformation item)
Parameters
Type | Name | Description |
---|---|---|
PluginInformation | item | The object to remove from the System.Collections.Generic.ICollection<T>. |
Implements
UnloadAll()
Unloads all.
Declaration
public void UnloadAll()
Events
PluginLoadEvent
Occurs when current plugin is loaded.
Declaration
public event PluginLoadUnloadEvent PluginLoadEvent
Event Type
Type | Description |
---|---|
PluginLoadUnloadEvent |
PluginUnloadEvent
Occurs when current plugin is inloaded.
Declaration
public event PluginLoadUnloadEvent PluginUnloadEvent
Event Type
Type | Description |
---|---|
PluginLoadUnloadEvent |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()