mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 07:51:36 +00:00 
			
		
		
		
	.Net 6 Upgrade
This commit is contained in:
		| @@ -28,46 +28,44 @@ using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
|  | ||||
| namespace Esiur.Net.IIP | ||||
| namespace Esiur.Net.IIP; | ||||
| public class DistributedResourceQueueItem | ||||
| { | ||||
|     public class DistributedResourceQueueItem | ||||
|     public enum DistributedResourceQueueItemType | ||||
|     { | ||||
|         public enum DistributedResourceQueueItemType | ||||
|         { | ||||
|             Propery, | ||||
|             Event | ||||
|         } | ||||
|         Propery, | ||||
|         Event | ||||
|     } | ||||
|  | ||||
|         DistributedResourceQueueItemType type; | ||||
|         byte index; | ||||
|         object value; | ||||
|         DistributedResource resource; | ||||
|     DistributedResourceQueueItemType type; | ||||
|     byte index; | ||||
|     object value; | ||||
|     DistributedResource resource; | ||||
|  | ||||
|         public DistributedResourceQueueItem(DistributedResource resource, DistributedResourceQueueItemType type, object value, byte index) | ||||
|         { | ||||
|             this.resource = resource; | ||||
|             this.index = index; | ||||
|             this.type = type; | ||||
|             this.value = value; | ||||
|         } | ||||
|     public DistributedResourceQueueItem(DistributedResource resource, DistributedResourceQueueItemType type, object value, byte index) | ||||
|     { | ||||
|         this.resource = resource; | ||||
|         this.index = index; | ||||
|         this.type = type; | ||||
|         this.value = value; | ||||
|     } | ||||
|  | ||||
|         public DistributedResource Resource | ||||
|         { | ||||
|             get { return resource; } | ||||
|         } | ||||
|         public DistributedResourceQueueItemType Type | ||||
|         { | ||||
|             get { return type; } | ||||
|         } | ||||
|     public DistributedResource Resource | ||||
|     { | ||||
|         get { return resource; } | ||||
|     } | ||||
|     public DistributedResourceQueueItemType Type | ||||
|     { | ||||
|         get { return type; } | ||||
|     } | ||||
|  | ||||
|         public byte Index | ||||
|         { | ||||
|             get { return index; } | ||||
|         } | ||||
|     public byte Index | ||||
|     { | ||||
|         get { return index; } | ||||
|     } | ||||
|  | ||||
|         public object Value | ||||
|         { | ||||
|             get { return value; } | ||||
|         } | ||||
|     public object Value | ||||
|     { | ||||
|         get { return value; } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user