mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-30 23:51:34 +00:00 
			
		
		
		
	1
This commit is contained in:
		| @@ -19,7 +19,7 @@ namespace Esiur.Core | ||||
|             Connection.SendChunk(CallbackId, value); | ||||
|         } | ||||
|  | ||||
|         public void Progress(int value, int max) { | ||||
|         public void Progress(uint value, uint max) { | ||||
|  | ||||
|             if (Ended) | ||||
|                 throw new Exception("Execution has ended."); | ||||
| @@ -27,6 +27,15 @@ namespace Esiur.Core | ||||
|             Connection.SendProgress(CallbackId, value, max); | ||||
|         } | ||||
|  | ||||
|         public void Warning(byte level, string message) | ||||
|         { | ||||
|  | ||||
|             if (Ended) | ||||
|                 throw new Exception("Execution has ended."); | ||||
|  | ||||
|             Connection.SendWarning(CallbackId, level, message); | ||||
|         } | ||||
|  | ||||
|         public DistributedConnection Connection { get; internal set; } | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user