예제 #1
0
 public DemoCompositeType GetDataUsingDataContract(DemoCompositeType composite)
 {
     if (composite == null)
     {
         throw new ArgumentNullException("composite");
     }
     if (composite.BoolValue)
     {
         composite.StringValue += "Suffix";
     }
     return composite;
 }
예제 #2
0
 public DemoCompositeType GetDataUsingDataContract(DemoCompositeType composite)
 {
     if (composite == null)
     {
         throw new ArgumentNullException("composite");
     }
     if (composite.BoolValue)
     {
         composite.StringValue += "Suffix";
     }
     return(composite);
 }