public void ChangeValue(someDto dto) { dto.Number = dto.Number*2; dto.DecimalNumber = dto.DecimalNumber * 2; dto.DoubleNumber = dto.DoubleNumber * 2; dto.StringValue = dto.StringValue + dto.StringValue; dto.PropertyNumber = dto.PropertyNumber + dto.PropertyNumber; dto.PropertyString = dto.PropertyString + dto.PropertyString; }
public void ChangeValue(someDto dto) { dto.Number = dto.Number * 2; dto.DecimalNumber = dto.DecimalNumber * 2; dto.DoubleNumber = dto.DoubleNumber * 2; dto.StringValue = dto.StringValue + dto.StringValue; dto.PropertyNumber = dto.PropertyNumber + dto.PropertyNumber; dto.PropertyString = dto.PropertyString + dto.PropertyString; }
private void InitialiseDto() { myNumber = 10; myDecimalNumber = 10.20m; myDoubleNumber = 10.10; myStringValue = "Test String"; myPropertyNumber = 20; myPropertystring = "Test property string"; myDto = new someDto(); myDto.Number = myNumber; myDto.DecimalNumber = myDecimalNumber; myDto.DoubleNumber = myDoubleNumber; myDto.StringValue = myStringValue; myDto.PropertyNumber = myPropertyNumber; myDto.PropertyString = myPropertystring; }