public override bool Equals(object obj) { MBeanCASPermission other = obj as MBeanCASPermission; if (other == null) { return(false); } return(this._impl.Equals(other._impl)); }
public override bool IsSubsetOf(IPermission target) { if (target == null) { return(false); } MBeanCASPermission other = target as MBeanCASPermission; if (other == null) { throw new ArgumentException("Incompatibile permission object."); } return(_impl.IsSubsetOf(other._impl)); }
public override IPermission Union(IPermission target) { if (target == null) { return(this.Copy()); } MBeanCASPermission other = target as MBeanCASPermission; if (other == null) { throw new ArgumentException("Incompatibile permission object."); } MBeanPermissionImpl result = _impl.Union(other._impl); return(result != null ? new MBeanCASPermission(result) : null); }