mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 07:51:36 +00:00 
			
		
		
		
	ResourceTemplate 2.0
This commit is contained in:
		| @@ -53,10 +53,10 @@ namespace Esiur.Data | ||||
|  | ||||
|             foreach (var pt in resource.Instance.Template.Properties) | ||||
|             { | ||||
|                 var rt = pt.Info.GetValue(resource, null); | ||||
|                 var rt = pt.PropertyInfo.GetValue(resource, null); | ||||
|                 if (rt is DistributedPropertyContext) | ||||
|                     continue; | ||||
|  | ||||
|                  | ||||
|                 writer.WritePropertyName(options.PropertyNamingPolicy?.ConvertName(pt.Name) ?? pt.Name); | ||||
|  | ||||
|                 if (rt is IResource) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user