public MBeanPermissionImpl Union(MBeanPermissionImpl target) { VerifyAsNeeded(); if (target == null) { return(this.Copy()); } if (this.IsSubsetOf(target)) { return(target.Copy()); } else if (target.IsSubsetOf(this)) { return(this.Copy()); } else { return(null); } }
public override IPermission Copy() { return(new MBeanCASPermission(_impl.Copy())); }
public MBeanPermissionImpl Union(MBeanPermissionImpl target) { VerifyAsNeeded(); if (target == null) { return this.Copy(); } if (this.IsSubsetOf(target)) { return target.Copy(); } else if (target.IsSubsetOf(this)) { return this.Copy(); } else { return null; } }