Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Dump.cs
- ConfigurationSectionCollection.cs
- SharedStatics.cs
- InheritanceAttribute.cs
- SHA512.cs
- TextCollapsingProperties.cs
- XPathException.cs
- PointAnimationUsingPath.cs
- TreeNodeCollection.cs
- GeometryConverter.cs
- VectorConverter.cs
- CallSiteBinder.cs
- InvariantComparer.cs
- ThreadSafeList.cs
- SubordinateTransaction.cs
- StylusLogic.cs
- ExceptionHandlersDesigner.cs
- Vector3DKeyFrameCollection.cs
- DataControlPagerLinkButton.cs
- PageWrapper.cs
- DrawingCollection.cs
- ConfigurationSection.cs
- VisualStyleInformation.cs
- DataGridViewCell.cs
- CodeConstructor.cs
- ErrorRuntimeConfig.cs
- ServiceDescriptionReflector.cs
- PerfCounterSection.cs
- IsolatedStorageFile.cs
- CursorInteropHelper.cs
- UserPersonalizationStateInfo.cs
- MeasurementDCInfo.cs
- XmlName.cs
- TerminatingOperationBehavior.cs
- RepeatBehaviorConverter.cs
- EmulateRecognizeCompletedEventArgs.cs
- ToolStripArrowRenderEventArgs.cs
- SortQuery.cs
- CalendarDataBindingHandler.cs
- Section.cs
- Variable.cs
- Stacktrace.cs
- MimeParameters.cs
- DataServiceHostFactory.cs
- TextFormatterImp.cs
- CanonicalFontFamilyReference.cs
- OracleRowUpdatingEventArgs.cs
- exports.cs
- EncodedStreamFactory.cs
- TextEmbeddedObject.cs
- Vector3DIndependentAnimationStorage.cs
- QuaternionValueSerializer.cs
- FirstMatchCodeGroup.cs
- SoapHelper.cs
- RawTextInputReport.cs
- LinearGradientBrush.cs
- SqlDataSource.cs
- EnumType.cs
- SupportsEventValidationAttribute.cs
- PrivateFontCollection.cs
- FlowDocumentView.cs
- InputScopeAttribute.cs
- SharedPerformanceCounter.cs
- ThreadStartException.cs
- TimeManager.cs
- PrePostDescendentsWalker.cs
- HwndMouseInputProvider.cs
- SignatureHelper.cs
- GroupBoxAutomationPeer.cs
- DayRenderEvent.cs
- DependencyPropertyConverter.cs
- JobDuplex.cs
- WaitHandleCannotBeOpenedException.cs
- TextCharacters.cs
- SystemIPInterfaceProperties.cs
- Int64AnimationBase.cs
- GenericUriParser.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- PairComparer.cs
- PrimaryKeyTypeConverter.cs
- CodePageEncoding.cs
- RepeaterItemCollection.cs
- ProxyWebPartManager.cs
- ThreadExceptionEvent.cs
- GeneralTransform3D.cs
- Types.cs
- DesignerSerializerAttribute.cs
- DbConnectionOptions.cs
- ResizeGrip.cs
- TiffBitmapEncoder.cs
- BamlVersionHeader.cs
- WebResourceAttribute.cs
- DataServiceHostWrapper.cs
- GeneralTransform.cs
- PrintDialog.cs
- EventData.cs
- DockPattern.cs
- SettingsBase.cs
- URLString.cs
- ToolZone.cs