示例#1
0
文件: APlugin.cs 项目: rachartier/HAL
        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);
        }
示例#2
0
文件: APlugin.cs 项目: rachartier/HAL
 public PluginResultArgs(APlugin plugin, string result)
 {
     Plugin = plugin;
     Result = result;
 }