Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / WebConfigurationHostFileChange.cs / 1 / WebConfigurationHostFileChange.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Configuration.Internal; using System.Configuration; using System.Globalization; using System.IO; using System.Reflection; using System.Security; using System.Web; using System.Web.Compilation; using System.Web.Configuration.Internal; using System.Web.Hosting; using System.Web.Util; using System.Xml; // // Receives file change notifications from the FileChangesMonitor, // and forwards them to a callback on a configuration host. // sealed class WebConfigurationHostFileChange { StreamChangeCallback _callback; internal WebConfigurationHostFileChange(StreamChangeCallback callback) { _callback = callback; } internal void OnFileChanged(object sender, FileChangeEvent e) { _callback(e.FileName); } internal StreamChangeCallback Callback { get {return _callback;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Configuration.Internal; using System.Configuration; using System.Globalization; using System.IO; using System.Reflection; using System.Security; using System.Web; using System.Web.Compilation; using System.Web.Configuration.Internal; using System.Web.Hosting; using System.Web.Util; using System.Xml; // // Receives file change notifications from the FileChangesMonitor, // and forwards them to a callback on a configuration host. // sealed class WebConfigurationHostFileChange { StreamChangeCallback _callback; internal WebConfigurationHostFileChange(StreamChangeCallback callback) { _callback = callback; } internal void OnFileChanged(object sender, FileChangeEvent e) { _callback(e.FileName); } internal StreamChangeCallback Callback { get {return _callback;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeCryptoHandles.cs
- RangeValueProviderWrapper.cs
- NotSupportedException.cs
- TransportChannelListener.cs
- ProfessionalColorTable.cs
- PieceNameHelper.cs
- AdapterSwitches.cs
- SerTrace.cs
- TextStore.cs
- ConfigXmlWhitespace.cs
- GenericNameHandler.cs
- ToolStripScrollButton.cs
- BypassElement.cs
- PlainXmlSerializer.cs
- SR.cs
- BooleanKeyFrameCollection.cs
- DbProviderConfigurationHandler.cs
- XMLSchema.cs
- FtpRequestCacheValidator.cs
- CursorConverter.cs
- TimeoutException.cs
- RemotingSurrogateSelector.cs
- DataBinding.cs
- HandledMouseEvent.cs
- TypeViewSchema.cs
- CopyNodeSetAction.cs
- ExchangeUtilities.cs
- ClientSettingsProvider.cs
- XmlArrayItemAttributes.cs
- updateconfighost.cs
- PostBackOptions.cs
- DataStreamFromComStream.cs
- FieldAccessException.cs
- AnimationTimeline.cs
- Int32Storage.cs
- TextRenderer.cs
- Decoder.cs
- EntityParameter.cs
- SqlFactory.cs
- XmlCountingReader.cs
- InkCanvasSelectionAdorner.cs
- WbemProvider.cs
- CodeCatchClauseCollection.cs
- WebFaultClientMessageInspector.cs
- ComponentManagerBroker.cs
- FtpWebRequest.cs
- ServiceReference.cs
- VariableValue.cs
- OracleLob.cs
- InputLanguageProfileNotifySink.cs
- ScriptingRoleServiceSection.cs
- SiteMapDataSource.cs
- MatrixCamera.cs
- TextInfo.cs
- DoubleLinkListEnumerator.cs
- CompModSwitches.cs
- ScrollEvent.cs
- PropertyState.cs
- ValidationHelpers.cs
- OrderedDictionary.cs
- EventLogHandle.cs
- SqlBuilder.cs
- PrivilegedConfigurationManager.cs
- DesignerForm.cs
- SchemaNotation.cs
- UrlAuthorizationModule.cs
- IntSecurity.cs
- EncodingTable.cs
- ElementHost.cs
- Matrix3D.cs
- HybridCollection.cs
- QueryableDataSourceEditData.cs
- LinqDataSourceContextEventArgs.cs
- ZipArchive.cs
- CodeVariableReferenceExpression.cs
- ApplicationInterop.cs
- XmlCodeExporter.cs
- PathSegment.cs
- AuthorizationContext.cs
- GPStream.cs
- ConsumerConnectionPoint.cs
- InsufficientMemoryException.cs
- WindowVisualStateTracker.cs
- UnsafeNativeMethods.cs
- PropertyGridView.cs
- WmpBitmapDecoder.cs
- ObjectDataSourceWizardForm.cs
- CorrelationHandle.cs
- ChtmlTextWriter.cs
- VirtualizedItemProviderWrapper.cs
- DataGridViewImageCell.cs
- BitmapDownload.cs
- Timer.cs
- MulticastNotSupportedException.cs
- Model3DCollection.cs
- SettingsContext.cs
- TypeConverters.cs
- GridViewRowEventArgs.cs
- Parser.cs
- Color.cs