Esempio n. 1
0
        public bool Equals(APlugin other)
        {
            if (other is null)
            {
                return(false);
            }

            if (this == other)
            {
                return(true);
            }

            if (GetType() != other.GetType())
            {
                return(false);
            }

            return(Infos.Equals(other.Infos) &&
                   Type == other.Type &&
                   OsAuthorized == other.OsAuthorized &&
                   Heartbeat == other.Heartbeat &&
                   AdministratorRights.Equals(other.AdministratorRights) &&
                   AdministratorUsername.Equals(other.AdministratorUsername) &&
                   Activated == other.Activated);
        }
Esempio n. 2
0
 public PluginResultArgs(APlugin plugin, string result)
 {
     Plugin = plugin;
     Result = result;
 }