示例#1
0
 public PageService(IPageData pageData, ISettingData settingData, LoggingService log, IUserData userData,
                    IAtomicCmsDataRepository dataContext)
 {
     this.pageData = pageData;
     this.settingData = settingData;
     this.log = log;
     this.userData = userData;
     _dataContext = dataContext;
 }
示例#2
0
 public PageService(IPageData pageData, ISettingData settingData, LoggingService log, IUserData userData,
                    IAtomicCmsDataRepository dataContext)
 {
     this.pageData    = pageData;
     this.settingData = settingData;
     this.log         = log;
     this.userData    = userData;
     _dataContext     = dataContext;
 }
示例#3
0
    bool DrawSetting(ISettingData _setting)
    {
        if (_setting == null)
        {
            return(false);
        }

        _setting.Foldout = EditorGUILayout.InspectorTitlebar(_setting.Foldout, _setting);
        if (_setting.Foldout == false)
        {
            return(false);
        }

        using (var check = new EditorGUI.ChangeCheckScope())
        {
            Editor editor = CreateEditor(_setting);
            editor.OnInspectorGUI();

            return(check.changed);
        }
    }
示例#4
0
 public Settings(ISettingData settingData)
 {
     _settingData = settingData;
 }
示例#5
0
 public SettingService(ISettingData settingData, IConfigurationAdapter _configurationAdapter)
 {
     this.settingData           = settingData;
     this._configurationAdapter = _configurationAdapter;
 }
示例#6
0
 public SyndicationService(IPageData pageData, ISettingData settingData)
 {
     this.pageData    = pageData;
     this.settingData = settingData;
 }
 public SyndicationService(IPageData pageData, ISettingData settingData)
 {
     this.pageData = pageData;
     this.settingData = settingData;
 }
示例#8
0
 public SettingService(ISettingData settingData, IConfigurationAdapter _configurationAdapter)
 {
     this.settingData = settingData;
     this._configurationAdapter = _configurationAdapter;
 }