Esempio n. 1
0
		public ResourceItem(ResourceEditorViewModel resourceEditor, string name, object resourceValue)
		{
			this.resourceEditor = resourceEditor;
			this.Name = name;
			this.SortingCriteria = name;
			this.ResourceValue = resourceValue;
			this.resourceType = GetResourceTypeFromValue(resourceValue);
		}
 public ResourceItem(ResourceEditorViewModel resourceEditor, string name, object resourceValue)
 {
     this.resourceEditor  = resourceEditor;
     this.Name            = name;
     this.SortingCriteria = name;
     this.ResourceValue   = resourceValue;
     this.resourceType    = GetResourceTypeFromValue(resourceValue);
 }