Пример #1
0
 /// <summary>
 /// Constructor</summary>
 /// <param name="node">The node the context will be editing</param>
 /// <param name="editor">The editor, which provides the Filter and DefaultExtension information</param>
 public FilePathValueEditorContext(PropertyNode node, FilePathValueEditor editor)
 {
     m_node = node;
     
     Filter = editor.Filter;
     DefaultExtension = editor.DefaultExtension;
 }
Пример #2
0
        /// <summary>
        /// Constructor</summary>
        /// <param name="node">The node the context will be editing</param>
        /// <param name="editor">The editor, which provides the Filter and DefaultExtension information</param>
        public FilePathValueEditorContext(PropertyNode node, FilePathValueEditor editor)
        {
            m_node = node;

            Filter           = editor.Filter;
            DefaultExtension = editor.DefaultExtension;
        }