C# 클래스 i18n.Domain.Abstract.AbstractSettingService

Abstract class for settings, we require being able to fetch all settings, finding one and also saving.
파일 보기 프로젝트 열기: turquoiseowl/i18n 1 사용 예제들

공개 메소드들

메소드 설명
AbstractSettingService ( string configFileLocation ) : System

ctor allowing custom config file

GetConfigFileLocation ( ) : string
GetSetting ( string key ) : string
RemoveSetting ( string key ) : void
SetSetting ( string key, string value ) : void

메소드 상세

AbstractSettingService() 공개 메소드

ctor allowing custom config file
public AbstractSettingService ( string configFileLocation ) : System
configFileLocation string Link to the config files location. If set to null, settings will try to work out path on it's own
리턴 System

GetConfigFileLocation() 공개 추상적인 메소드

public abstract GetConfigFileLocation ( ) : string
리턴 string

GetSetting() 공개 추상적인 메소드

public abstract GetSetting ( string key ) : string
key string
리턴 string

RemoveSetting() 공개 추상적인 메소드

public abstract RemoveSetting ( string key ) : void
key string
리턴 void

SetSetting() 공개 추상적인 메소드

public abstract SetSetting ( string key, string value ) : void
key string
value string
리턴 void