mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
3.2.29.2
This commit is contained in:
@@ -55,11 +55,15 @@ namespace MediaBrowser.Common.Plugins
|
||||
get { return typeof(TConfigurationType); }
|
||||
}
|
||||
|
||||
public void SetAttributes(string assemblyFilePath, string assemblyFileName, Version assemblyVersion, Guid assemblyId)
|
||||
public void SetAttributes(string assemblyFilePath, string assemblyFileName, Version assemblyVersion)
|
||||
{
|
||||
AssemblyFilePath = assemblyFilePath;
|
||||
AssemblyFileName = assemblyFileName;
|
||||
Version = assemblyVersion;
|
||||
}
|
||||
|
||||
public void SetId(Guid assemblyId)
|
||||
{
|
||||
Id = assemblyId;
|
||||
}
|
||||
|
||||
@@ -78,7 +82,7 @@ namespace MediaBrowser.Common.Plugins
|
||||
/// Gets the unique id.
|
||||
/// </summary>
|
||||
/// <value>The unique id.</value>
|
||||
public Guid Id { get; private set; }
|
||||
public virtual Guid Id { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the plugin version
|
||||
@@ -284,6 +288,7 @@ namespace MediaBrowser.Common.Plugins
|
||||
|
||||
public interface IPluginAssembly
|
||||
{
|
||||
void SetAttributes(string assemblyFilePath, string assemblyFileName, Version assemblyVersion, Guid assemblyId);
|
||||
void SetAttributes(string assemblyFilePath, string assemblyFileName, Version assemblyVersion);
|
||||
void SetId(Guid assemblyId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user