4 using SiliconStudio.Core.Reflection;
6 namespace SiliconStudio.Assets.Visitors
28 : base(value, memberDescriptor.TypeDescriptor)
30 if (memberDescriptor == null)
throw new ArgumentNullException(
"memberDescriptor");
31 this.memberDescriptor = memberDescriptor;
42 return memberDescriptor;
48 MemberDescriptor.Set(Parent.Instance, newValue);
59 return string.Format(
"{0} = {1}", MemberDescriptor.Name, Instance ??
"null");
void SetValue(object newValue)
A diff element for a member (field or property) of a class.
Describe a member of an object.
override string ToString()
Base class for all items in a collection (array, list or dictionary)
DataVisitMember(object value, IMemberDescriptor memberDescriptor)
Initializes a new instance of the DataVisitMember class.