Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / WebConfigurationHostFileChange.cs / 1305376 / 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
- EventsTab.cs
- UntypedNullExpression.cs
- X509SecurityTokenProvider.cs
- HostingPreferredMapPath.cs
- SchemaTypeEmitter.cs
- XmlNamespaceMapping.cs
- InternalPolicyElement.cs
- OutputChannel.cs
- PageCatalogPartDesigner.cs
- TypefaceCollection.cs
- AnimationClock.cs
- LinkConverter.cs
- PropertyChangeTracker.cs
- MobileControlsSectionHelper.cs
- ExitEventArgs.cs
- XPathMultyIterator.cs
- MetadataSource.cs
- sapiproxy.cs
- KeyboardDevice.cs
- ResolvedKeyFrameEntry.cs
- CommonDialog.cs
- MarkupProperty.cs
- MbpInfo.cs
- QueryGenerator.cs
- sqlinternaltransaction.cs
- XmlAtomicValue.cs
- QueueProcessor.cs
- WrappedIUnknown.cs
- HttpCookiesSection.cs
- SchemaConstraints.cs
- EventLogReader.cs
- EnumValidator.cs
- WebPartZoneCollection.cs
- BindingValueChangedEventArgs.cs
- DataGridAddNewRow.cs
- Compiler.cs
- BrowserCapabilitiesCodeGenerator.cs
- HtmlProps.cs
- BrowsableAttribute.cs
- PingReply.cs
- Point3DKeyFrameCollection.cs
- XmlDictionaryWriter.cs
- QuotedPrintableStream.cs
- Action.cs
- CapabilitiesPattern.cs
- UnsafeNativeMethods.cs
- Stream.cs
- Invariant.cs
- UIElementCollection.cs
- Binding.cs
- TemplateControl.cs
- CodeDelegateCreateExpression.cs
- DmlSqlGenerator.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- ResourceManagerWrapper.cs
- ElementHostAutomationPeer.cs
- HttpCookiesSection.cs
- SchemaImporter.cs
- TemplateAction.cs
- CacheMemory.cs
- Win32Native.cs
- DbConnectionOptions.cs
- MSAAWinEventWrap.cs
- RelOps.cs
- HtmlMeta.cs
- XmlSchemaSet.cs
- ProgressBar.cs
- XmlSchemaSimpleType.cs
- ProxyHelper.cs
- Compress.cs
- CookielessHelper.cs
- GridViewCommandEventArgs.cs
- TemplateBindingExtensionConverter.cs
- QuaternionRotation3D.cs
- DotExpr.cs
- SqlCachedBuffer.cs
- EventManager.cs
- ByteConverter.cs
- TreeNodeBindingCollection.cs
- ModuleConfigurationInfo.cs
- FastPropertyAccessor.cs
- MissingManifestResourceException.cs
- CommandBindingCollection.cs
- DataPager.cs
- PathTooLongException.cs
- XamlReaderHelper.cs
- HtmlInputSubmit.cs
- ZipIOModeEnforcingStream.cs
- Schema.cs
- SqlDependencyUtils.cs
- ConstraintManager.cs
- ThumbAutomationPeer.cs
- ExpressionParser.cs
- FormViewUpdatedEventArgs.cs
- Point3DConverter.cs
- InvalidOleVariantTypeException.cs
- XmlSchemaImporter.cs
- InvokePatternIdentifiers.cs
- IPHostEntry.cs
- DeliveryStrategy.cs