Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ConfigXmlElement.cs
- InternalPermissions.cs
- JulianCalendar.cs
- StringValidatorAttribute.cs
- CurrentTimeZone.cs
- DbgCompiler.cs
- DeviceContext.cs
- ReceiveSecurityHeaderEntry.cs
- TableItemProviderWrapper.cs
- ButtonField.cs
- GenericsNotImplementedException.cs
- DbMetaDataColumnNames.cs
- GeneralTransform3D.cs
- InstanceNormalEvent.cs
- DefaultEvaluationContext.cs
- Decorator.cs
- NextPreviousPagerField.cs
- AllowedAudienceUriElementCollection.cs
- InputLanguageCollection.cs
- SEHException.cs
- TypeUnloadedException.cs
- ApplicationDirectory.cs
- TextBoxBaseDesigner.cs
- MD5.cs
- SendSecurityHeader.cs
- ListBindingHelper.cs
- Gdiplus.cs
- CompareValidator.cs
- EntityClientCacheEntry.cs
- TextTreeObjectNode.cs
- ContextMenu.cs
- PreviewPrintController.cs
- CapabilitiesSection.cs
- PropertyValidationContext.cs
- baseshape.cs
- CheckBoxFlatAdapter.cs
- TextElement.cs
- HttpCacheVaryByContentEncodings.cs
- DataServiceQuery.cs
- ProfileProvider.cs
- SizeConverter.cs
- XmlNavigatorStack.cs
- StrokeNodeOperations.cs
- ObservableDictionary.cs
- FixedLineResult.cs
- SqlDuplicator.cs
- NetDataContractSerializer.cs
- CodeExpressionRuleDeclaration.cs
- ColorBlend.cs
- HostedImpersonationContext.cs
- SpanIndex.cs
- NullRuntimeConfig.cs
- WorkerRequest.cs
- XpsS0ValidatingLoader.cs
- EntityContainerAssociationSet.cs
- OpenTypeLayout.cs
- CFStream.cs
- remotingproxy.cs
- ValidationVisibilityAttribute.cs
- ReaderWriterLockWrapper.cs
- DataChangedEventManager.cs
- MatrixTransform3D.cs
- ManifestResourceInfo.cs
- HttpHandlersInstallComponent.cs
- ArgIterator.cs
- ControlBuilderAttribute.cs
- InlineObject.cs
- ManagementNamedValueCollection.cs
- SpStreamWrapper.cs
- EpmSyndicationContentSerializer.cs
- PeekCompletedEventArgs.cs
- oledbconnectionstring.cs
- XsltLoader.cs
- CodeSnippetCompileUnit.cs
- DateTimeValueSerializerContext.cs
- HashSetDebugView.cs
- ItemPager.cs
- RegexRunner.cs
- MultiplexingDispatchMessageFormatter.cs
- SerializerProvider.cs
- NCryptNative.cs
- HwndTarget.cs
- SqlDelegatedTransaction.cs
- SafeIUnknown.cs
- DocumentOrderComparer.cs
- shaperfactory.cs
- PathGeometry.cs
- __ConsoleStream.cs
- OleDbReferenceCollection.cs
- HttpCacheParams.cs
- HttpCapabilitiesEvaluator.cs
- SerializationSectionGroup.cs
- SchemaMerger.cs
- Int16KeyFrameCollection.cs
- ExternalDataExchangeService.cs
- ProtocolImporter.cs
- AutomationAttributeInfo.cs
- basecomparevalidator.cs
- TextBoxBase.cs
- Track.cs