mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 07:51:36 +00:00 
			
		
		
		
	Blazor support
This commit is contained in:
		| @@ -412,6 +412,8 @@ public class DistributedResource : DynamicObject, IResource, INotifyPropertyChan | ||||
|     /// <returns>Indicator when the property is set.</returns> | ||||
|     protected object _SetSync(byte index, object value) | ||||
|     { | ||||
|         Console.WriteLine("Setting..." + index + " " + value); | ||||
|  | ||||
|         if (destroyed) | ||||
|             throw new Exception("Trying to access a destroyed object."); | ||||
|  | ||||
| @@ -428,7 +430,10 @@ public class DistributedResource : DynamicObject, IResource, INotifyPropertyChan | ||||
|         if (properties[index] == value) | ||||
|             return value; | ||||
|  | ||||
|         return _Set(index, value).Wait(); | ||||
|         var rt = _Set(index, value).Wait(); | ||||
|  | ||||
|         Console.WriteLine("Done Setting"); | ||||
|         return rt; | ||||
|     } | ||||
|  | ||||
|     /// <summary> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user