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
- MediaTimeline.cs
- XmlSchemaAll.cs
- ViewBox.cs
- ReceiveCompletedEventArgs.cs
- Binding.cs
- DocumentGridContextMenu.cs
- RolePrincipal.cs
- SrgsOneOf.cs
- ButtonChrome.cs
- InternalRelationshipCollection.cs
- AggregateNode.cs
- ProviderUtil.cs
- DesignConnection.cs
- InvalidateEvent.cs
- ChainedAsyncResult.cs
- XPathDocumentIterator.cs
- SpeechDetectedEventArgs.cs
- SpeechDetectedEventArgs.cs
- CustomWebEventKey.cs
- FixedTextBuilder.cs
- DataControlButton.cs
- HttpListenerResponse.cs
- ResourcePermissionBase.cs
- Utils.cs
- SortDescription.cs
- XmlSchemaFacet.cs
- RotationValidation.cs
- ObjectViewListener.cs
- SafeNativeMethods.cs
- SettingsAttributeDictionary.cs
- SafeEventLogWriteHandle.cs
- ProcessModelSection.cs
- Int16AnimationBase.cs
- MediaElementAutomationPeer.cs
- SchemaTableColumn.cs
- ExcCanonicalXml.cs
- EventSetter.cs
- FunctionUpdateCommand.cs
- ServiceBuildProvider.cs
- DescendentsWalkerBase.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- XMLUtil.cs
- UInt16.cs
- ExtensionQuery.cs
- ComboBoxDesigner.cs
- BufferedGraphics.cs
- EpmTargetPathSegment.cs
- AdPostCacheSubstitution.cs
- smtpconnection.cs
- SimpleRecyclingCache.cs
- HttpListener.cs
- ConfigurationPermission.cs
- ScrollItemPatternIdentifiers.cs
- ContentWrapperAttribute.cs
- AnchorEditor.cs
- SBCSCodePageEncoding.cs
- Focus.cs
- FrameworkPropertyMetadata.cs
- IncrementalCompileAnalyzer.cs
- TabControl.cs
- ToolStripTextBox.cs
- ModifyActivitiesPropertyDescriptor.cs
- HttpVersion.cs
- PartitionedStream.cs
- XmlIlTypeHelper.cs
- control.ime.cs
- XsltContext.cs
- BindingCompleteEventArgs.cs
- CapabilitiesAssignment.cs
- DateTimeSerializationSection.cs
- PropertyEmitterBase.cs
- CheckBoxRenderer.cs
- WebPartAuthorizationEventArgs.cs
- CatalogPartChrome.cs
- COM2Properties.cs
- ContainerActivationHelper.cs
- PositiveTimeSpanValidatorAttribute.cs
- LabelEditEvent.cs
- Single.cs
- DefaultValueAttribute.cs
- AnonymousIdentificationModule.cs
- SerializationEventsCache.cs
- FakeModelItemImpl.cs
- DoubleLinkList.cs
- TypeLoadException.cs
- DbConnectionPoolOptions.cs
- COM2Enum.cs
- ObjectStateEntry.cs
- CodeFieldReferenceExpression.cs
- SelectionItemPattern.cs
- CredentialCache.cs
- WebCategoryAttribute.cs
- XmlSchemaSimpleType.cs
- XmlNotation.cs
- SymbolType.cs
- ShutDownListener.cs
- BindingMAnagerBase.cs
- _LazyAsyncResult.cs
- ChangeBlockUndoRecord.cs
- Type.cs