Table of Contents

Class XMLProjectLoader

Namespace
Loehnert.Lisrt.Scripting.Project
Assembly
Loehnert.Lisrt.Scripting.dll

Class for writing and loading a project to/ from XML formatted file.

[Export(typeof(IProjectLoader))]
public class XMLProjectLoader : IProjectLoader
Inheritance
XMLProjectLoader
Implements
Inherited Members

Methods

Load(string)

Loads a *.lsproj to a IProject.

public IProject Load(string filePath)

Parameters

filePath string

Path to the load file.

Returns

IProject

A project, built from the project file.

Save(string, IProject)

Writes the project to a XML formatted file.

public void Save(string filePath, IProject project)

Parameters

filePath string

Rooted path to target file.

project IProject

Project to write.