본문으로 건너뛰기

ISystemPropertiesDataSource

시스템 속성 값을 읽고 쓰기 위한 인터페이스입니다.

네임스페이스: ControlBee.Interfaces

메서드

GetValue

속성 값을 가져옵니다.

object? GetValue(string actorName, string itemPath, string propertyName);
object? GetValue(string actorName, string propertyPath);
object? GetValue(string propertyPath);

매개변수:

  • actorName — 액터 이름입니다.
  • itemPath — 항목 경로입니다.
  • propertyName — 속성 이름입니다.
  • propertyPath — 결합된 속성 경로입니다.

반환값: 속성 값이거나 null입니다.

SetValue

속성 값을 설정합니다.

void SetValue(string actorName, string propertyPath, object value);

ReadFromFile

구성된 파일에서 모든 속성을 읽습니다.

void ReadFromFile();

ReadFromString

문자열에서 모든 속성을 읽습니다.

void ReadFromString(string content);

SaveToFile

구성된 파일에 모든 속성을 저장합니다.

void SaveToFile();