Exemplo n.º 1
0
 /// <summary>
 /// Return the custom editor for selecting videos
 /// </summary>
 /// <returns>EditorPartCollection containing the VisualEmbedEditorPart</returns>
 EditorPartCollection IWebEditable.CreateEditorParts()
 {
     List<EditorPart> editors = new List<EditorPart>();
     VisualEmbedEditorPart editorPart = new VisualEmbedEditorPart();
     editorPart.ID = this.ID + "_editorPart";
     editors.Add(editorPart);
     return new EditorPartCollection(editors);
 }
        /// <summary>
        /// Return the custom editor for selecting videos
        /// </summary>
        /// <returns>EditorPartCollection containing the VisualEmbedEditorPart</returns>
        EditorPartCollection IWebEditable.CreateEditorParts()
        {
            List <EditorPart>     editors    = new List <EditorPart>();
            VisualEmbedEditorPart editorPart = new VisualEmbedEditorPart();

            editorPart.ID = this.ID + "_editorPart";
            editors.Add(editorPart);
            return(new EditorPartCollection(editors));
        }