Пример #1
0
		public static bool ExportConfiguration(ConfigurationExportFilter filter)
		{
			var result = ClientManager.RubezhService.ExportConfiguration(filter);
			return Common.ShowErrorIfExists(result);
		}
Пример #2
0
		public OperationResult<bool> ExportConfiguration(ConfigurationExportFilter filter)
		{
			return SafeOperationCall(() =>
			{
				var rubezhService = RubezhServiceFactory.Create(TimeSpan.FromMinutes(10));
				using (rubezhService as IDisposable)
					return rubezhService.ExportConfiguration(RubezhServiceFactory.UID, filter);
			}, "ExportConfiguration");
		}
Пример #3
0
		public OperationResult<bool> ExportConfiguration(Guid clientUID, ConfigurationExportFilter filter)
		{
			return SafeOperationCall(clientUID, () => RubezhService.ExportConfiguration(clientUID, filter), "ExportConfiguration");
		}
Пример #4
0
		public OperationResult<bool> ExportConfiguration(Guid clientUID, ConfigurationExportFilter filter)
		{
			return ConfigurationSynchroniser.Export(filter);
		}