4 using System.Collections;
5 using SiliconStudio.Core.Reflection;
7 namespace SiliconStudio.Assets.Visitors
14 private readonly
object key;
27 if (keyDescriptor == null)
throw new ArgumentNullException(
"keyDescriptor");
29 this.keyDescriptor = keyDescriptor;
40 return (
IDictionary)(Parent != null ? Parent.Instance : null);
88 return InstanceDescriptor;
94 return string.Format(
"{0} => {1}", key, Instance ??
"null");
Provides a descriptor for a System.Collections.IDictionary.
DataVisitDictionaryItem(object key, ITypeDescriptor keyDescriptor, object value, ITypeDescriptor valueDescriptor)
Initializes a new instance of the DataVisitDictionaryItem class.
override string ToString()
Base class for all items in a collection (array, list or dictionary)
Provides access members of a type.
Defines a dictionary item (key-value).