Exemplo n.º 1
0
		public void SetSettings( ReaderSettings settings )
		{
			if( settings != null )
			{
				if( _settings == null )
				{
					_settings = (ReaderSettings) settings.Clone( false );
				}
				else
				{
					_settings.Update( settings );
				}

				_dataCacheService.PutItem( _settings, CacheItemName, CancellationToken.None );
			}
		}
Exemplo n.º 2
0
 protected override void BeginProcessing()
 {
     base.BeginProcessing();
     _readerSettings = (ReaderSettings == null) ? new XmlReaderSettings() : ReaderSettings.Clone();
 }