public DemoCompositeType GetDataUsingDataContract(DemoCompositeType composite) { if (composite == null) { throw new ArgumentNullException("composite"); } if (composite.BoolValue) { composite.StringValue += "Suffix"; } return composite; }
public DemoCompositeType GetDataUsingDataContract(DemoCompositeType composite) { if (composite == null) { throw new ArgumentNullException("composite"); } if (composite.BoolValue) { composite.StringValue += "Suffix"; } return(composite); }