Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SecUtil.cs
- PropertyMapper.cs
- TemplateParser.cs
- ByteStreamMessageEncoder.cs
- Stylesheet.cs
- ListItem.cs
- WpfGeneratedKnownTypes.cs
- TriggerCollection.cs
- PolicyManager.cs
- DataSourceXmlAttributeAttribute.cs
- MessageAction.cs
- ClientData.cs
- MemberAccessException.cs
- DataGridViewComboBoxCell.cs
- XmlNamedNodeMap.cs
- GuidelineSet.cs
- _DomainName.cs
- EventLogStatus.cs
- IDReferencePropertyAttribute.cs
- _ProxyChain.cs
- ApplicationActivator.cs
- ButtonFieldBase.cs
- EditorZoneAutoFormat.cs
- DynamicControl.cs
- ContractNamespaceAttribute.cs
- Bidi.cs
- MultiTargetingUtil.cs
- ToolboxDataAttribute.cs
- TableRowCollection.cs
- IgnorePropertiesAttribute.cs
- CompiledQuery.cs
- DataStorage.cs
- OdbcErrorCollection.cs
- JsonQNameDataContract.cs
- FormViewRow.cs
- EventMappingSettings.cs
- InvokeProviderWrapper.cs
- OleDbConnectionFactory.cs
- TypeConvertions.cs
- AppSettingsExpressionBuilder.cs
- HttpDebugHandler.cs
- ControlCollection.cs
- unsafeIndexingFilterStream.cs
- MembershipUser.cs
- TemplateBuilder.cs
- PrintingPermission.cs
- ApplicationServiceHelper.cs
- SqlTrackingWorkflowInstance.cs
- MetadataUtil.cs
- MessageLoggingElement.cs
- BorderGapMaskConverter.cs
- CfgParser.cs
- CultureData.cs
- CipherData.cs
- VirtualDirectoryMappingCollection.cs
- MetadataArtifactLoaderCompositeResource.cs
- ListParagraph.cs
- EntityDataSourceChangingEventArgs.cs
- IncomingWebRequestContext.cs
- DrawItemEvent.cs
- DrawListViewItemEventArgs.cs
- ClientOptions.cs
- XmlDataSource.cs
- TransformerConfigurationWizardBase.cs
- SafeNativeMethods.cs
- StylusTip.cs
- WebPartMenu.cs
- Matrix.cs
- PackageDigitalSignature.cs
- RoutedEventArgs.cs
- DataErrorValidationRule.cs
- DataContractSerializerElement.cs
- StoreAnnotationsMap.cs
- ResourceContainer.cs
- VolatileResourceManager.cs
- ByteConverter.cs
- ReplacementText.cs
- XamlPointCollectionSerializer.cs
- PackWebRequest.cs
- HtmlProps.cs
- SelectionItemProviderWrapper.cs
- ExtractedStateEntry.cs
- OracleCommand.cs
- XsltCompileContext.cs
- DataGridView.cs
- PropertyDescriptors.cs
- RuntimeResourceSet.cs
- MLangCodePageEncoding.cs
- SHA512Managed.cs
- PersonalizationProvider.cs
- ContentElement.cs
- CachedCompositeFamily.cs
- LogicalChannelCollection.cs
- BuildResult.cs
- XmlBinaryReader.cs
- VectorCollection.cs
- FixedDSBuilder.cs
- Lasso.cs
- AppSettingsExpressionBuilder.cs
- CodeTypeDelegate.cs