Exemplo 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);
        }
Exemplo n.º 2
0
 public PluginResultArgs(APlugin plugin, string result)
 {
     Plugin = plugin;
     Result = result;
 }