Table of Contents

Class ProjectSettings

Namespace
PlumJsonAnimator.Services
Assembly
PlumJsonAnimator.dll

Provides methods for work with project settings. It is in "{projectDir}/{projectName}/settings.plmjsn: ususally.

public class ProjectSettings
Inheritance
ProjectSettings
Inherited Members

Constructors

ProjectSettings(AppSettings, GlobalState, JsonCode)

public ProjectSettings(AppSettings appSettings, GlobalState globalState, JsonCode jsonCode)

Parameters

appSettings AppSettings
globalState GlobalState
jsonCode JsonCode

Methods

ExistOrCreateProjectDirs()

public void ExistOrCreateProjectDirs()

GetSettingsData()

public SettingsData GetSettingsData()

Returns

SettingsData

ReadSettings()

public void ReadSettings()

ReadSettings(string?)

public void ReadSettings(string? path)

Parameters

path string

UpdateSettings(Project)

Sets settings from this project

public void UpdateSettings(Project project)

Parameters

project Project

WriteAnimation(string)

public void WriteAnimation(string anim)

Parameters

anim string

WriteSettings()

public void WriteSettings()