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
appSettingsAppSettingsglobalStateGlobalStatejsonCodeJsonCode
Methods
ExistOrCreateProjectDirs()
public void ExistOrCreateProjectDirs()
GetSettingsData()
public SettingsData GetSettingsData()
Returns
ReadSettings()
public void ReadSettings()
ReadSettings(string?)
public void ReadSettings(string? path)
Parameters
pathstring
UpdateSettings(Project)
Sets settings from this project
public void UpdateSettings(Project project)
Parameters
projectProject
WriteAnimation(string)
public void WriteAnimation(string anim)
Parameters
animstring
WriteSettings()
public void WriteSettings()