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
- XmlSerializableServices.cs
- SafeProcessHandle.cs
- XmlName.cs
- MemberPath.cs
- StringValidator.cs
- XPathDocumentIterator.cs
- WinInetCache.cs
- Brush.cs
- ListViewSelectEventArgs.cs
- Html32TextWriter.cs
- TypeNameConverter.cs
- UnsafeNativeMethods.cs
- SubpageParaClient.cs
- ConditionedDesigner.cs
- X509RawDataKeyIdentifierClause.cs
- NativeMethods.cs
- xml.cs
- EnlistmentState.cs
- MaskedTextProvider.cs
- SecurityPolicyVersion.cs
- EntityDataSourceReferenceGroup.cs
- CatalogPartChrome.cs
- RadioButtonBaseAdapter.cs
- KeyValueInternalCollection.cs
- DeclarationUpdate.cs
- _HeaderInfoTable.cs
- HttpHandlersSection.cs
- CodeObjectCreateExpression.cs
- DataGridViewButtonCell.cs
- GlyphRunDrawing.cs
- TargetException.cs
- CatalogPartCollection.cs
- MetadataUtil.cs
- HyperlinkAutomationPeer.cs
- AxHostDesigner.cs
- SqlClientPermission.cs
- MenuTracker.cs
- PeerNodeTraceRecord.cs
- WebConfigurationHostFileChange.cs
- IdentityNotMappedException.cs
- ParseElementCollection.cs
- PaginationProgressEventArgs.cs
- DatagridviewDisplayedBandsData.cs
- XmlDataSourceNodeDescriptor.cs
- ExpandCollapseProviderWrapper.cs
- ModulesEntry.cs
- ObjectToIdCache.cs
- OracleParameter.cs
- OutputCacheProfileCollection.cs
- VarRemapper.cs
- ErrorWebPart.cs
- OdbcTransaction.cs
- FixedPageStructure.cs
- ConvertTextFrag.cs
- ImageAttributes.cs
- DelegatingChannelListener.cs
- EventLogSession.cs
- UniqueContractNameValidationBehavior.cs
- FontCollection.cs
- RenamedEventArgs.cs
- HttpContext.cs
- StaticContext.cs
- ServiceReference.cs
- AxisAngleRotation3D.cs
- EventProviderWriter.cs
- DSACryptoServiceProvider.cs
- LicenseException.cs
- TrustSection.cs
- Filter.cs
- ECDiffieHellman.cs
- ComPlusTypeLoader.cs
- precedingsibling.cs
- ConfigurationStrings.cs
- OutputCacheProfileCollection.cs
- CellTreeNodeVisitors.cs
- PolyLineSegment.cs
- SerializationAttributes.cs
- ColorConverter.cs
- PasswordBox.cs
- XPathAncestorQuery.cs
- SpellCheck.cs
- SQLSingle.cs
- SqlDependency.cs
- BatchParser.cs
- GeneralTransform3D.cs
- TextTreeExtractElementUndoUnit.cs
- GeneratedView.cs
- WindowsFormsSynchronizationContext.cs
- EdmToObjectNamespaceMap.cs
- dbenumerator.cs
- ScalarConstant.cs
- DrawingVisualDrawingContext.cs
- SourceElementsCollection.cs
- ModuleConfigurationInfo.cs
- InputMethodStateChangeEventArgs.cs
- TextTrailingCharacterEllipsis.cs
- ScriptControlDescriptor.cs
- SqlOuterApplyReducer.cs
- Point4DConverter.cs
- CodeParameterDeclarationExpression.cs