Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ProgramPublisher.cs
- Point.cs
- Win32SafeHandles.cs
- DbReferenceCollection.cs
- UnlockCardRequest.cs
- versioninfo.cs
- EntityContainerAssociationSet.cs
- GACIdentityPermission.cs
- TextRange.cs
- BitmapCodecInfo.cs
- RegionData.cs
- OneOfConst.cs
- ProcessHost.cs
- DictionaryItemsCollection.cs
- HtmlHead.cs
- EndPoint.cs
- MD5HashHelper.cs
- ContainerFilterService.cs
- HostVisual.cs
- PartialTrustVisibleAssembly.cs
- SspiHelper.cs
- RtfNavigator.cs
- ProxyFragment.cs
- PrimitiveCodeDomSerializer.cs
- SQLDouble.cs
- EventWaitHandleSecurity.cs
- TransformedBitmap.cs
- WsrmMessageInfo.cs
- Geometry.cs
- AssociationSet.cs
- PropertyGridDesigner.cs
- SqlWriter.cs
- WorkItem.cs
- _Connection.cs
- HttpHandlersSection.cs
- IndexOutOfRangeException.cs
- Socket.cs
- OleDbDataReader.cs
- UnitySerializationHolder.cs
- GroupByExpressionRewriter.cs
- EdmPropertyAttribute.cs
- SystemWebCachingSectionGroup.cs
- unsafenativemethodstextservices.cs
- HwndSourceParameters.cs
- KeyTime.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WebConfigurationHostFileChange.cs
- metadatamappinghashervisitor.cs
- ByteStreamBufferedMessageData.cs
- DataSourceHelper.cs
- AccessDataSourceWizardForm.cs
- WebPartTransformerCollection.cs
- DateRangeEvent.cs
- DateTimeValueSerializer.cs
- CodeAttachEventStatement.cs
- EditBehavior.cs
- Material.cs
- ComponentCache.cs
- ScrollEvent.cs
- ClonableStack.cs
- HttpRequest.cs
- COAUTHINFO.cs
- CallbackException.cs
- Expression.cs
- RowToFieldTransformer.cs
- RuntimeHandles.cs
- Rotation3D.cs
- EnumValidator.cs
- InfoCardAsymmetricCrypto.cs
- HttpCapabilitiesSectionHandler.cs
- WebDisplayNameAttribute.cs
- MarkupCompiler.cs
- NavigatingCancelEventArgs.cs
- PeerReferralPolicy.cs
- HiddenField.cs
- Int32CollectionValueSerializer.cs
- ServerProtocol.cs
- DelegateBodyWriter.cs
- XPathArrayIterator.cs
- MsmqIntegrationSecurityElement.cs
- PreparingEnlistment.cs
- DateTimeFormatInfoScanner.cs
- ToolStripProgressBar.cs
- ForwardPositionQuery.cs
- DelayedRegex.cs
- AttributeParameterInfo.cs
- ReflectionUtil.cs
- SystemIcons.cs
- MarkupProperty.cs
- GuidTagList.cs
- entityreference_tresulttype.cs
- SymbolType.cs
- ViewGenResults.cs
- WebBrowserDocumentCompletedEventHandler.cs
- PopupRootAutomationPeer.cs
- SqlDataSourceQueryEditor.cs
- XsltOutput.cs
- TextTreeRootNode.cs
- MimeReturn.cs
- designeractionlistschangedeventargs.cs