C# 클래스 AcManager.Controls.ViewModels.BaseAssistsViewModel

Base view model — usually only to load stuff to display from serialized data. Could save data too, it depends on creation way. For more information look at Constructors region.
상속: FirstFloor.ModernUI.Presentation.NotifyPropertyChanged
파일 보기 프로젝트 열기: gro-ove/actools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Saveable ISaveHelper

공개 메소드들

메소드 설명
BaseAssistsViewModel ( ) : System

Full load-and-save mode. All changes will be saved automatically and loaded later (only with this constuctor).

CreateFixed ( [ serializedData ) : BaseAssistsViewModel

Create a new AssistsViewModel which will load data from serialized string, but won’t save any changes if they will occur.

ToGameProperties ( ) : Game.AssistsProperties

보호된 메소드들

메소드 설명
BaseAssistsViewModel ( string key, bool fixedMode ) : System

Inner constructor.

SaveLater ( ) : void

메소드 상세

BaseAssistsViewModel() 공개 메소드

Full load-and-save mode. All changes will be saved automatically and loaded later (only with this constuctor).
public BaseAssistsViewModel ( ) : System
리턴 System

BaseAssistsViewModel() 보호된 메소드

Inner constructor.
protected BaseAssistsViewModel ( string key, bool fixedMode ) : System
key string ValuesStorage key
fixedMode bool Prevent saving
리턴 System

CreateFixed() 공개 정적인 메소드

Create a new AssistsViewModel which will load data from serialized string, but won’t save any changes if they will occur.
public static CreateFixed ( [ serializedData ) : BaseAssistsViewModel
serializedData [
리턴 BaseAssistsViewModel

SaveLater() 보호된 메소드

protected SaveLater ( ) : void
리턴 void

ToGameProperties() 공개 메소드

public ToGameProperties ( ) : Game.AssistsProperties
리턴 Game.AssistsProperties

프로퍼티 상세

Saveable 보호되어 있는 프로퍼티

protected ISaveHelper Saveable
리턴 ISaveHelper