예제 #1
0
 public static string GetDescription(this PNMembershipsInclude @this)
 {
     if (@this.Equals(PNMembershipsInclude.PNMembershipsIncludeCustom))
     {
         return("custom");
     }
     else if (@this.Equals(PNMembershipsInclude.PNMembershipsIncludeChannel))
     {
         return("channel");
     }
     else if (@this.Equals(PNMembershipsInclude.PNMembershipsIncludeChannelCustom))
     {
         return("channel.custom");
     }
     else
     {
         return("custom");
     }
 }
예제 #2
0
 public static string GetDescription(this PNMembershipsInclude @this)
 {
     if (@this.Equals(PNMembershipsInclude.PNMembershipsCustom))
     {
         return("custom");
     }
     else if (@this.Equals(PNMembershipsInclude.PNMembershipsSpace))
     {
         return("space");
     }
     else if (@this.Equals(PNMembershipsInclude.PNMembershipsSpaceCustom))
     {
         return("space.custom");
     }
     else
     {
         return("custom");
     }
 }