Opens a TeaFile in read only mode.

Namespace: TeaTime
Assembly: DiscreteLogics.TeaFiles (in DiscreteLogics.TeaFiles.dll) Version: 1.0.0.16 (1.0.0.16)

Syntax

public static TeaFile<T> OpenRead(
	string path,
	ItemDescriptionElements elementsToValidate
)

Parameters

path
Type: System..::..String
The path of the file.
elementsToValidate
Type: TeaTime..::..ItemDescriptionElements
Elements of the ItemDescription of T compared against hose inside thefile. ItemDescriptionElements for details.

Return Value

The file, open for reading.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThrown when path is null.

See Also