示例#1
0
 public static PostageResult WithDefault(PostZone postZone, string description)
 {
     if (postZone.AskIfMaxWeight)
     {
         return(WithPhone(description));
     }
     else
     {
         return(WithPrice(postZone.FlatRate, description));
     }
 }
示例#2
0
 public static PostageResult WithDefault(PostZone postZone)
 {
     if (postZone.AskIfMaxWeight)
     {
         return WithPhone;
     }
     else
     {
         return WithPrice(postZone.FlatRate);
     }
 }
示例#3
0
 public static PostageResult WithDefault(PostZone postZone, string description)
 {
     if (postZone.AskIfMaxWeight)
     {
         return WithPhone(description);
     }
     else
     {
         return WithPrice(postZone.FlatRate, description);
     }
 }
示例#4
0
 partial void DeletePostZone(PostZone instance);
示例#5
0
 partial void UpdatePostZone(PostZone instance);
示例#6
0
 partial void InsertPostZone(PostZone instance);