Пример #1
0
        internal static ISceneInsertionPoint GetSceneInsertionPoint(SceneElement element, ITypeId typeToInsert, SceneNode child)
        {
            IProperty propertyToInsert = InsertionPointContext.GetPropertyToInsert(element, typeToInsert, child);

            if (propertyToInsert != null)
            {
                return((ISceneInsertionPoint) new PropertySceneInsertionPoint(element, propertyToInsert));
            }
            return(element.DefaultInsertionPoint);
        }
Пример #2
0
 internal static IProperty GetPropertyToInsert(SceneElement element, ITypeId typeToInsert)
 {
     return(InsertionPointContext.GetPropertyToInsert(element, typeToInsert, (SceneNode)null));
 }
Пример #3
0
 public IProperty GetPropertyToInsert(SceneElement element, SceneNode child)
 {
     return(InsertionPointContext.GetPropertyToInsert(element, this.typeToInsert, child));
 }
Пример #4
0
 public IProperty GetPropertyToInsert(SceneElement element)
 {
     return(InsertionPointContext.GetPropertyToInsert(element, this.typeToInsert, (SceneNode)null));
 }
Пример #5
0
 public ISceneInsertionPoint GetSceneInsertionPoint(SceneElement element, SceneNode child)
 {
     return(InsertionPointContext.GetSceneInsertionPoint(element, this.typeToInsert, child));
 }