5 using SiliconStudio.Core.Reflection;
7 namespace SiliconStudio.Quantum.
Commands
12 public override string Name {
get {
return "CreateNewInstance"; } }
20 return (typeDescriptor.
Type.IsNullable() && Nullable.GetUnderlyingType(typeDescriptor.Type).IsStruct())
27 return parameter != null ? Activator.CreateInstance((Type)parameter) : currentValue;
Provides a descriptor for a System.Collections.ICollection.
Type Type
Gets the type described by this instance.
Provides a descriptor for a System.Collections.IDictionary.
CombineMode
An enum that describes what to do with a node or a command when combining view models.
Provides access members of a type.
override object ModifyValue(object currentValue, ITypeDescriptor descriptor, object parameter)
override bool CanAttach(ITypeDescriptor typeDescriptor, MemberDescriptorBase memberDescriptor)
Indicates whether this command can be attached to an object or a member with the given descriptors...
Base class for IMemberDescriptor for a MemberInfo