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