Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Configuration / System / Configuration / StreamInfo.cs / 1 / StreamInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Security; using System.Text; using System.Xml; // Information about a stream used in configuration class StreamInfo { private string _sectionName; // the section the stream contains for configSource, null for a full config file private string _configSource; // the configSource directive that generated this stream, null for a full config file private string _streamName; // name of the stream private bool _isMonitored; // is the stream currently monitored? private object _version; // version that we're monitoring internal StreamInfo(string sectionName, string configSource, string streamName) { _sectionName = sectionName; _configSource = configSource; _streamName = streamName; } private StreamInfo() { } internal StreamInfo Clone() { StreamInfo clone = new StreamInfo(); clone._sectionName = this._sectionName; clone._configSource = this._configSource; clone._streamName = this._streamName; clone._isMonitored = this._isMonitored; clone._version = this._version; return clone; } internal string SectionName { get { return _sectionName; } } internal string ConfigSource { get { return _configSource; } } internal string StreamName { get { return _streamName; } } internal bool IsMonitored { get { return _isMonitored; } set { _isMonitored = value;} } internal object Version { get { return _version; } set { _version = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Configuration { using System.Configuration.Internal; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Security.Permissions; using System.Security; using System.Text; using System.Xml; // Information about a stream used in configuration class StreamInfo { private string _sectionName; // the section the stream contains for configSource, null for a full config file private string _configSource; // the configSource directive that generated this stream, null for a full config file private string _streamName; // name of the stream private bool _isMonitored; // is the stream currently monitored? private object _version; // version that we're monitoring internal StreamInfo(string sectionName, string configSource, string streamName) { _sectionName = sectionName; _configSource = configSource; _streamName = streamName; } private StreamInfo() { } internal StreamInfo Clone() { StreamInfo clone = new StreamInfo(); clone._sectionName = this._sectionName; clone._configSource = this._configSource; clone._streamName = this._streamName; clone._isMonitored = this._isMonitored; clone._version = this._version; return clone; } internal string SectionName { get { return _sectionName; } } internal string ConfigSource { get { return _configSource; } } internal string StreamName { get { return _streamName; } } internal bool IsMonitored { get { return _isMonitored; } set { _isMonitored = value;} } internal object Version { get { return _version; } set { _version = value; } } } } // 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
- GridViewCommandEventArgs.cs
- Variable.cs
- EventMappingSettings.cs
- WpfSharedBamlSchemaContext.cs
- FormsAuthentication.cs
- ProfileBuildProvider.cs
- WebPageTraceListener.cs
- shaperfactoryquerycacheentry.cs
- HandlerFactoryWrapper.cs
- EventQueueState.cs
- InputGestureCollection.cs
- ManagementPath.cs
- BridgeDataReader.cs
- EventSinkHelperWriter.cs
- CompiledAction.cs
- ClientBuildManager.cs
- ContentFilePart.cs
- Expr.cs
- InputProcessorProfiles.cs
- DriveNotFoundException.cs
- SqlBulkCopyColumnMapping.cs
- ApplicationServicesHostFactory.cs
- PeerPresenceInfo.cs
- Floater.cs
- PropertyMapper.cs
- DesignerActionItem.cs
- DataGridViewComboBoxCell.cs
- CodeObject.cs
- FormView.cs
- ImagingCache.cs
- UnicodeEncoding.cs
- RoutedCommand.cs
- FormsAuthenticationConfiguration.cs
- WebPartUserCapability.cs
- Adorner.cs
- BooleanSwitch.cs
- ObjectViewEntityCollectionData.cs
- ArrayEditor.cs
- PixelShader.cs
- InfoCardAsymmetricCrypto.cs
- SqlDataSourceStatusEventArgs.cs
- ServiceRouteHandler.cs
- ConstructorArgumentAttribute.cs
- IIS7UserPrincipal.cs
- DesignerForm.cs
- HitTestWithPointDrawingContextWalker.cs
- DataGridViewRowPostPaintEventArgs.cs
- Array.cs
- ISAPIRuntime.cs
- MoveSizeWinEventHandler.cs
- UInt16Storage.cs
- DocumentGridContextMenu.cs
- AuthorizationSection.cs
- HostVisual.cs
- PlatformCulture.cs
- XmlName.cs
- WaitHandleCannotBeOpenedException.cs
- ApplicationDirectory.cs
- DictionaryGlobals.cs
- TimerEventSubscriptionCollection.cs
- BindingMemberInfo.cs
- Thickness.cs
- FontWeight.cs
- PtsCache.cs
- FontFamilyValueSerializer.cs
- WorkItem.cs
- CoTaskMemHandle.cs
- StringArrayConverter.cs
- CopyAction.cs
- DashStyle.cs
- precedingsibling.cs
- NotifyParentPropertyAttribute.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- ValueProviderWrapper.cs
- TaiwanCalendar.cs
- ColumnResult.cs
- XmlResolver.cs
- WindowsFormsHostAutomationPeer.cs
- NativeStructs.cs
- Win32.cs
- BitmapEffectInput.cs
- DataGridItemCollection.cs
- HttpValueCollection.cs
- Compilation.cs
- CodeAssignStatement.cs
- BufferedGenericXmlSecurityToken.cs
- IFlowDocumentViewer.cs
- hebrewshape.cs
- AssemblyBuilderData.cs
- WindowsRegion.cs
- TraceSwitch.cs
- WebEventCodes.cs
- Processor.cs
- SelectionProcessor.cs
- OrderingExpression.cs
- PropertyCollection.cs
- SBCSCodePageEncoding.cs
- _UncName.cs
- RadioButtonRenderer.cs
- DataContext.cs