• Tutorials
  • Api Documentation
  • Download
  • Credits
Show / Hide Table of Contents
  • AutoCheck.Core
    • Output
    • Output.Log
    • Output.Style
    • Output.Type
    • Script
    • Script.ExecutionMode
    • Utils
    • Utils.OS
  • AutoCheck.Core.Connectors
    • Atom
    • Base
    • Compressed
    • Css
    • Csv
    • CsvDocument
    • Dmoj
    • GDrive
    • Html
    • Math
    • Odoo
    • Operator
    • PlainText
    • PlainText.PlainTextDocument
    • Postgres
    • Rss
    • Shell
    • TextStream
    • Xml
    • Xml.XmlNodeType
  • AutoCheck.Core.CopyDetectors
    • Base
    • Base.Mode
    • Css
    • Html
    • PlainText
    • PlainText.File
    • SourceCode
    • SqlLog
    • Xml
  • AutoCheck.Core.Events
    • LogUpdateEventArgs
    • StatusUpdateEventArgs
    • StatusUpdateEventArgs.ExecutionEvent
  • AutoCheck.Core.Exceptions
    • ArgumentInvalidException
    • ArgumentNotFoundException
    • ConfigFileMissingException
    • ConnectionInvalidException
    • ConnectorInvalidException
    • ConnectorNotFoundException
    • DocumentInvalidException
    • DownloadFailedException
    • ItemNotFoundException
    • PorpertyNotFoundException
    • QueryInvalidException
    • RegexInvalidException
    • ResultMismatchException
    • ScriptInvalidException
    • ScriptNotFoundException
    • StyleInvalidException
    • StyleNotAppliedException
    • StyleNotFoundException
    • TableInconsistencyException
    • VariableInvalidException
    • VariableNotFoundException
  • Google.DiffMatchPatch
    • Diff
    • DiffMatchPatch
    • Operation
    • Patch

Class PlainText.PlainTextDocument

Contains a PlainText document content.

Inheritance
System.Object
PlainText.PlainTextDocument
Namespace: AutoCheck.Core.Connectors
Assembly: AutoCheck.Core.dll
Syntax
public class PlainTextDocument : object

Constructors

| Improve this Doc View Source

PlainTextDocument(String)

Creates a new PlaintText Document instance, parsing an existing PlainText file.

Declaration
public PlainTextDocument(string file)
Parameters
Type Name Description
System.String file

PlainText file path.

| Improve this Doc View Source

PlainTextDocument(String[])

Creates a new PlaintText Document instance, parsing the given lines.

Declaration
public PlainTextDocument(string[] lines)
Parameters
Type Name Description
System.String[] lines

The file content.

Properties

| Improve this Doc View Source

Content

Document's content

Declaration
public string Content { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Lines

Document's amount of lines

Declaration
public int Lines { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

GetLine(Int32)

Returns a line

Declaration
public string GetLine(int index)
Parameters
Type Name Description
System.Int32 index

Index of the line that must be retrieved (from 1 to N).

Returns
Type Description
System.String

Extension Methods

ObjectExtensions.DeepClone<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX