Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Abstractions / HttpStaticObjectsCollectionWrapper.cs / 1305376 / HttpStaticObjectsCollectionWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web { using System; using System.Collections; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Runtime.CompilerServices; [TypeForwardedFrom("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")] [SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Justification = "This type is an abstraction for HttpStaticObjectsCollection.")] public class HttpStaticObjectsCollectionWrapper : HttpStaticObjectsCollectionBase { private HttpStaticObjectsCollection _collection; public HttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection httpStaticObjectsCollection) { if (httpStaticObjectsCollection == null) { throw new ArgumentNullException("httpStaticObjectsCollection"); } _collection = httpStaticObjectsCollection; } public override int Count { get { return _collection.Count; } } public override bool IsReadOnly { get { return _collection.IsReadOnly; } } public override bool IsSynchronized { get { return _collection.IsSynchronized; } } public override object this[string name] { get { return _collection[name]; } } public override bool NeverAccessed { get { return _collection.NeverAccessed; } } public override object SyncRoot { get { return _collection.SyncRoot; } } public override void CopyTo(Array array, int index) { _collection.CopyTo(array, index); } public override IEnumerator GetEnumerator() { return _collection.GetEnumerator(); } public override object GetObject(string name) { return _collection.GetObject(name); } public override void Serialize(BinaryWriter writer) { _collection.Serialize(writer); } } } // 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
- ActivityCodeDomSerializer.cs
- EmptyEnumerator.cs
- ToolStripSeparator.cs
- LOSFormatter.cs
- StagingAreaInputItem.cs
- NamedPipeProcessProtocolHandler.cs
- SymmetricSecurityProtocol.cs
- ZeroOpNode.cs
- DataObjectAttribute.cs
- SpotLight.cs
- ColorMap.cs
- ObjectViewListener.cs
- HttpFileCollection.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- Module.cs
- BitmapEffectInput.cs
- DataServiceQueryOfT.cs
- MessageQueueException.cs
- SHA384Managed.cs
- DesignerAttribute.cs
- Fonts.cs
- JpegBitmapEncoder.cs
- TraceListeners.cs
- DependencyObject.cs
- ScrollEvent.cs
- PropertyEmitter.cs
- CompositeDataBoundControl.cs
- DataSourceView.cs
- InheritedPropertyChangedEventArgs.cs
- Validator.cs
- ControlBindingsCollection.cs
- Authorization.cs
- HtmlFormWrapper.cs
- SQlBooleanStorage.cs
- ColumnHeaderConverter.cs
- SqlServer2KCompatibilityAnnotation.cs
- VarInfo.cs
- AuthenticatedStream.cs
- DisplayNameAttribute.cs
- SchemaRegistration.cs
- SHA512Managed.cs
- FontConverter.cs
- OdbcParameterCollection.cs
- HatchBrush.cs
- ApplicationActivator.cs
- StringToken.cs
- ITextView.cs
- XmlQueryCardinality.cs
- LayoutDump.cs
- DocumentGridContextMenu.cs
- XNodeValidator.cs
- DataBindingHandlerAttribute.cs
- MSAAWinEventWrap.cs
- StatusBarAutomationPeer.cs
- ConfigurationLockCollection.cs
- ChangeConflicts.cs
- NamespaceList.cs
- ContainerAction.cs
- FixedNode.cs
- EntitySetDataBindingList.cs
- BindingManagerDataErrorEventArgs.cs
- DesignerActionUIStateChangeEventArgs.cs
- NamespaceCollection.cs
- Graphics.cs
- XPathSelectionIterator.cs
- BrowserDefinition.cs
- Soap12FormatExtensions.cs
- InvalidOperationException.cs
- SafeUserTokenHandle.cs
- SqlRowUpdatedEvent.cs
- OleDbConnection.cs
- DocumentSequenceHighlightLayer.cs
- DBSqlParserTable.cs
- _ListenerRequestStream.cs
- HtmlInputControl.cs
- RuleAction.cs
- ConnectionStringSettingsCollection.cs
- XamlFigureLengthSerializer.cs
- HyperLink.cs
- XmlNamedNodeMap.cs
- TextFormatterContext.cs
- XmlSchemaSequence.cs
- XmlSchemaSubstitutionGroup.cs
- MenuItem.cs
- ApplicationServicesHostFactory.cs
- IgnoreDeviceFilterElement.cs
- XsdBuildProvider.cs
- SafeIUnknown.cs
- BamlLocalizableResource.cs
- XmlNodeComparer.cs
- RegistryHandle.cs
- SimplePropertyEntry.cs
- ChannelManager.cs
- SqlMethodCallConverter.cs
- BitmapMetadataEnumerator.cs
- BaseTemplateParser.cs
- Add.cs
- EntityDataSourceValidationException.cs
- ConcatQueryOperator.cs
- ReliableRequestSessionChannel.cs