Exemplo n.º 1
0
 /// <summary>
 /// Appends to existing InteractionError
 /// </summary>
 /// <param name="id">Id of the Error. It replaces existing id only if the existing Id is ErrorsIds.UNINITIALIZED</param>
 /// <param name="description">| delimiter is Appended to existing description, followed by value of this parameter</param>
 public void Append(ErrorsIds id, string description)
 {
     if (this.ID == ErrorsIds.UNINITIALIZED)          //Get the new one, otherwise keep the original
     {
         this.ID = id;
     }
     this.Description = UTILS.ConcatenateWithDelimiters("|", this.Description, description);
 }
Exemplo n.º 2
0
		/// <summary>
		/// Appends to existing InteractionError
		/// </summary>
		/// <param name="id">Id of the Error. It replaces existing id only if the existing Id is ErrorsIds.UNINITIALIZED</param>
		/// <param name="description">| delimiter is Appended to existing description, followed by value of this parameter</param>
		public void Append(ErrorsIds id,string description){
			if(this.ID==ErrorsIds.UNINITIALIZED){//Get the new one, otherwise keep the original
				this.ID=id;
			}
			this.Description=UTILS.ConcatenateWithDelimiters("|",this.Description,description);
		}
Exemplo n.º 3
0
 /// <summary>
 /// Creates new InteractionError object based on one of predefined error ID and description of what has happened
 /// </summary>
 /// <param name="id">One of predefined IDs</param>
 /// <param name="description">Error Description</param>
 public InteractionError(ErrorsIds id, string description)
 {
     ID = id; Description = description;
 }
Exemplo n.º 4
0
		/// <summary>
		/// Creates new InteractionError object based on one of predefined error ID and description of what has happened
		/// </summary>
		/// <param name="id">One of predefined IDs</param>
		/// <param name="description">Error Description</param>
		public InteractionError(ErrorsIds id,string description){
			ID=id;Description=description;
		}