public static Type GetPluginOperationType(string name, string fileName, string fileMD5)
        {
            try
            {
                PluginOperation pluginOperation = GetPluginOperation(name, fileName, fileMD5);

                Assembly pluginAssembly = Assembly.Load(File.ReadAllBytes(pluginOperation.DllFullPath));

                return(pluginAssembly.GetType(pluginOperation.OperationTypeName));
            }
            catch (Exception ex)
            {
                NLogger.LogErrorToBaseAndHdd(MainSettings.MainSqlSettings?.ComputerId, ex.ToString(), MainSettings.Constants.MAGIC_UPDATER);
                return(null);
            }
        }
 public TryPluginOperation(PluginOperation pluginOperation, bool isComplete = true, string message = "") : base(isComplete, message)
 {
     PluginOperationInstance = pluginOperation;
 }