public override IPermission Copy() { //Create a new instance of RobocodeInternalPermission with the current //value of unrestricted. var copy = new RobocodeInternalPermission(PermissionState.None); copy.unrestricted = IsUnrestricted(); //Return the copy. return copy; }
public override IPermission Copy() { //Create a new instance of RobocodeInternalPermission with the current //value of unrestricted. var copy = new RobocodeInternalPermission(PermissionState.None); copy.unrestricted = IsUnrestricted(); //Return the copy. return(copy); }