Exemplo n.º 1
0
 /// <summary>
 /// Appends the start autowrap control character (0x09 0x11) to the message, executes the specified action, and
 /// appends the stop autowrap control character(0x09 0x012) to the end of the message.
 /// </summary>
 /// <param name="this"></param>
 /// <param name="action"></param>
 /// <returns></returns>
 public static MessageEntryBuilder.MessageBuilder RuntimeWrap(this MessageEntryBuilder.MessageBuilder @this, Action action)
 {
     @this.AutoWrapStart();
     action();
     @this.AutoWrapStop();
     return(@this);
 }