public void Save(IEnumerable <EndpointSettingDataModel> endpointSettings) { var target = new EndpointSettingListForSerialize(endpointSettings); FileIOUtility.Write(target, "EndpointSetting"); endpointList = endpointSettings.ToList(); }
public void Save(GlobalFrameOffset frameOffset) { onDataChangedSubject.OnNext(frameOffset); FileIOUtility.Write(frameOffset, "OffsetFrame"); cache = frameOffset; }
public void Save(bool enabled, IEnumerable <MidiMappingSettingDataModel> endpointSettings) { var target = new MidiMappingSettingListForSerialize(enabled, endpointSettings); FileIOUtility.Write(target, "MidiMappingSetting"); mappingList = endpointSettings.ToList(); this.enabled = enabled; }
public void Save(ObsWebsocketSettingDataModel setting) { setting.ServerAddress = AesEncryption.Encrypt(setting.ServerAddress); setting.Password = AesEncryption.Encrypt(setting.Password); FileIOUtility.Write(setting, "ObsWebsocket"); cache = setting; }
public void Save(IEnumerable <TimecodeSetting> endpointSettings) { var target = new TimecodeSettingListForSerialize(endpointSettings); FileIOUtility.Write(target, "TimecodeSetting"); endpointList = endpointSettings.ToList(); Debug.Log($"Saved : {JsonFilePath}"); }
public void Save(IEnumerable <CommandSetting> commandSettings) { var enumerable = commandSettings as CommandSetting[] ?? commandSettings.ToArray(); onDataChangedSubject.OnNext(enumerable); var target = new CommandSettingListForSerialize(enumerable); FileIOUtility.Write(target, "CommandSetting"); commandList = enumerable.ToList(); }
public void Save(OnAirSettingDataModel onAirSettingDataModel) { FileIOUtility.Write(onAirSettingDataModel, "OnAirSetting"); this.onAirSettingDataModel = onAirSettingDataModel; }
private void Save(AudioDeviceSettingForSerialize data) { FileIOUtility.Write(data, "OnAirSetting"); }