60 lines
		
	
	
		
			687 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			687 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| 
 | |
| namespace AIMSExtension
 | |
| {
 | |
| 	public class ErrorInfo
 | |
| 	{
 | |
| 		private int _number = 0;
 | |
| 
 | |
| 		private string _message = "";
 | |
| 
 | |
| 		private string _source = "";
 | |
| 
 | |
| 		public int Number
 | |
| 		{
 | |
| 			get
 | |
| 			{
 | |
| 				return this._number;
 | |
| 			}
 | |
| 			set
 | |
| 			{
 | |
| 				this._number = value;
 | |
| 			}
 | |
| 		}
 | |
| 
 | |
| 		public string Message
 | |
| 		{
 | |
| 			get
 | |
| 			{
 | |
| 				bool flag = this._number == 0;
 | |
| 				if (flag)
 | |
| 				{
 | |
| 					this._message = "";
 | |
| 				}
 | |
| 				return this._message;
 | |
| 			}
 | |
| 			set
 | |
| 			{
 | |
| 				this._message = value;
 | |
| 			}
 | |
| 		}
 | |
| 
 | |
| 		public string Source
 | |
| 		{
 | |
| 			get
 | |
| 			{
 | |
| 				bool flag = this._number == 0;
 | |
| 				if (flag)
 | |
| 				{
 | |
| 					this._source = "";
 | |
| 				}
 | |
| 				return this._source;
 | |
| 			}
 | |
| 			set
 | |
| 			{
 | |
| 				this._source = value;
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| }
 |