AlarmWorkflow.Windows.Configuration.TypeEditors.StringTypeEditor.ITypeEditor C# (CSharp) Метод

ITypeEditor() приватный Метод

private ITypeEditor ( string editorParameter ) : void
editorParameter string
Результат void
        void ITypeEditor.Initialize(string editorParameter)
        {
            bool isPassword = string.Equals(editorParameter, PasswordEditorParameter, StringComparison.Ordinal);

            if (isPassword)
            {
                _editor = new PasswordEditor();
            }
            else
            {
                _editor = new StringEditor();
            }

            text.Content = _editor.Visual;
        }