public virtual SceneNodeProperty CreateSceneNodeProperty(PropertyReference propertyReference, AttributeCollection attributes) { SceneNodeProperty sceneNodeProperty = new SceneNodeProperty(this, propertyReference, attributes); sceneNodeProperty.Recache(); return(sceneNodeProperty); }
public PropertyReferenceProperty CreateProperty(PropertyReference propertyReference, AttributeCollection attributes, Type proxyType) { SceneNodeProperty sceneNodeProperty = new SceneNodeProperty(this, propertyReference, attributes, (PropertyValue)null, proxyType); sceneNodeProperty.Recache(); return((PropertyReferenceProperty)sceneNodeProperty); }
public override SceneNodeProperty CreateSceneNodeProperty(PropertyReference propertyReference, AttributeCollection attributes) { if (propertyReference.Count != 1 || !DictionaryEntryNode.ValueProperty.Equals((object)propertyReference[0])) { return(base.CreateSceneNodeProperty(propertyReference, attributes)); } SceneNodeProperty sceneNodeProperty = (SceneNodeProperty) new ResourcePaneSceneNodeProperty((SceneNodeObjectSet)this, propertyReference, attributes, this.resource.Resource.TargetType, (ITypeResolver)this.ProjectContext); sceneNodeProperty.Recache(); return(sceneNodeProperty); }