C# Класс ICSharpCode.TextEditor.Document.DocumentFactory

This interface represents a container which holds a text sequence and all necessary information about it. It is used as the base for a text editor.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateDocument ( ) : IDocument Creates a new IDocument object. Only create IDocument with this method.
CreateFromFile ( string fileName ) : IDocument

Creates a new document and loads the given file

CreateFromTextBuffer ( ITextBufferStrategy textBuffer ) : IDocument

Creates a new document and loads the given file

Описание методов

CreateDocument() публичный Метод

Creates a new IDocument object. Only create IDocument with this method.
public CreateDocument ( ) : IDocument
Результат IDocument

CreateFromFile() публичный Метод

Creates a new document and loads the given file
public CreateFromFile ( string fileName ) : IDocument
fileName string
Результат IDocument

CreateFromTextBuffer() публичный Метод

Creates a new document and loads the given file
public CreateFromTextBuffer ( ITextBufferStrategy textBuffer ) : IDocument
textBuffer ITextBufferStrategy
Результат IDocument