Exemplo n.º 1
0
 protected static void ApplyProtection(string action, System.ServiceModel.Security.ScopedMessagePartSpecification parts, bool protection)
 {
     System.ServiceModel.Security.MessagePartSpecification partSpec;
     if (protection)
     {
         partSpec = new System.ServiceModel.Security.MessagePartSpecification(true);
     }
     else
     {
         partSpec = System.ServiceModel.Security.MessagePartSpecification.NoParts;
     }
     parts.AddParts(partSpec, action);
 }
Exemplo n.º 2
0
 public ScopedMessagePartSpecification(System.ServiceModel.Security.ScopedMessagePartSpecification other)
 {
 }