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
- FlowLayoutPanel.cs
- Models.cs
- SequenceQuery.cs
- PerfCounters.cs
- AdornerHitTestResult.cs
- PolyBezierSegmentFigureLogic.cs
- UnauthorizedAccessException.cs
- PackagePart.cs
- EntityContainerRelationshipSet.cs
- StringSource.cs
- TextDecorationCollection.cs
- ISFClipboardData.cs
- WindowsButton.cs
- XmlImplementation.cs
- DrawingState.cs
- DateTimeValueSerializerContext.cs
- _TimerThread.cs
- StoreItemCollection.Loader.cs
- RelationshipEndMember.cs
- PartialList.cs
- ParameterEditorUserControl.cs
- ParseNumbers.cs
- XmlEncodedRawTextWriter.cs
- AuthenticatedStream.cs
- FilterQueryOptionExpression.cs
- ExpressionTextBox.xaml.cs
- LinqDataSourceInsertEventArgs.cs
- GeneralTransform2DTo3D.cs
- PrimaryKeyTypeConverter.cs
- PagedDataSource.cs
- MenuItemCollectionEditor.cs
- _IPv4Address.cs
- DrawingDrawingContext.cs
- ReadWriteObjectLock.cs
- _ScatterGatherBuffers.cs
- SoapIncludeAttribute.cs
- RtType.cs
- ImageListDesigner.cs
- EntityCollection.cs
- AutomationEvent.cs
- TrackingServices.cs
- WindowVisualStateTracker.cs
- WebServiceData.cs
- UInt32Storage.cs
- ScriptComponentDescriptor.cs
- OneOf.cs
- basevalidator.cs
- ByteAnimationBase.cs
- AsyncContentLoadedEventArgs.cs
- BindingMAnagerBase.cs
- MethodRental.cs
- COM2FontConverter.cs
- SessionEndingEventArgs.cs
- Thread.cs
- MultipartContentParser.cs
- BitmapDownload.cs
- RelationshipConstraintValidator.cs
- TabPanel.cs
- Exceptions.cs
- BaseAsyncResult.cs
- CachedFontFamily.cs
- CheckBox.cs
- FontNamesConverter.cs
- ScrollProviderWrapper.cs
- UiaCoreProviderApi.cs
- MailHeaderInfo.cs
- ObjectViewEntityCollectionData.cs
- BitSet.cs
- CopyAttributesAction.cs
- SimpleLine.cs
- ProfileService.cs
- TextBoxRenderer.cs
- SymbolEqualComparer.cs
- HierarchicalDataSourceControl.cs
- TextAction.cs
- StateDesigner.Layouts.cs
- AxParameterData.cs
- ActiveXContainer.cs
- PrintController.cs
- QilGeneratorEnv.cs
- AppModelKnownContentFactory.cs
- PointLight.cs
- EventLogEntryCollection.cs
- ContentFilePart.cs
- TextServicesCompartmentEventSink.cs
- Image.cs
- IItemProperties.cs
- Column.cs
- mactripleDES.cs
- TableItemPattern.cs
- XmlSerializerSection.cs
- PropertyIDSet.cs
- MSAANativeProvider.cs
- Encoding.cs
- CommandEventArgs.cs
- DeploymentSectionCache.cs
- SqlDuplicator.cs
- CompleteWizardStep.cs
- ColorBlend.cs
- LogSwitch.cs