Beispiel #1
0
 /// <summary>
 /// Check that the payload has some content.
 /// </summary>
 /// <param name="reader"></param>
 private static void CheckPayload(IObjectReader reader)
 {
     if (reader == null || !reader.GetKeys().Any())
     {
         throw new ConnectorRequestException(Messages.EmptyMessageBody);
     }
 }
 /// <summary>
 /// Get a list of keys.
 /// </summary>
 public ISet <string> GetKeys( )
 {
     return(_inner.GetKeys( ));
 }