示例#1
0
 /// <summary>
 /// Defines the input handling for this pack.
 /// The input handling for a pack instructs the storage system how to handle the scanned pack (e.g. input the pack).
 /// </summary>
 /// <param name="handling">
 /// The handling which describes how to handle the pack.
 /// </param>
 /// <param name="message">
 /// Additional message to show in the UI of the storage system.
 /// This message is typically used in case of a pack rejection to show a more detailed rejection reason.
 /// </param>
 void IInputPack.SetHandling(InputHandling handling, string message)
 {
     this.Handling = new Handling()
     {
         Input = handling.ToString(), Text = TextConverter.EscapeInvalidXmlChars(message)
     };
 }
示例#2
0
 /// <summary>
 /// Defines the input handling for this pack.
 /// The input handling instructs the storage system how to handle the scanned pack (e.g. input the pack).
 /// </summary>
 /// <param name="handling">The handling which describes how to handle the pack.</param>
 void IInputPack.SetHandling(InputHandling handling)
 {
     this.Handling = new Handling()
     {
         Input = handling.ToString()
     };
 }