VPDetectorIO ReadDetectorFromFileInResources Method (TallyType, String, String, String)Virtual Photonics - VTS Library
Virtual Photonics
Reads Detector from a file in resources using given fileName.

Namespace: Vts.MonteCarlo.IO
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static IDetector ReadDetectorFromFileInResources(
	TallyType tallyType,
	string fileName,
	string folderPath,
	string projectName
)

Parameters

tallyType
Type: Vts.MonteCarlo TallyType
TallyType of IDetector being read
fileName
Type: OnlineSystem String
filename string of file to be read
folderPath
Type: OnlineSystem String
path string of folder where file to be read resides
projectName
Type: OnlineSystem String
project name string where file resides in resources

Return Value

Type: IDetector
IDetector
See Also