Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- TextEffect.cs
- SchemaAttDef.cs
- PieceDirectory.cs
- ViewStateModeByIdAttribute.cs
- StylusEditingBehavior.cs
- PolyBezierSegment.cs
- StrongNameUtility.cs
- ContractReference.cs
- SessionStateSection.cs
- TransformedBitmap.cs
- MenuItemBinding.cs
- SupportingTokenListenerFactory.cs
- MD5.cs
- ADMembershipUser.cs
- RegisteredArrayDeclaration.cs
- SqlTypeSystemProvider.cs
- IndicFontClient.cs
- Bitmap.cs
- StringUtil.cs
- ConfigurationLocation.cs
- CompiledXpathExpr.cs
- BitStream.cs
- TagMapCollection.cs
- HyperLink.cs
- DefaultMemberAttribute.cs
- GrammarBuilderWildcard.cs
- HtmlTernaryTree.cs
- EncodedStreamFactory.cs
- GridViewDeleteEventArgs.cs
- XmlStreamStore.cs
- SizeAnimationClockResource.cs
- DoubleStorage.cs
- ServiceProviders.cs
- SqlTransaction.cs
- PostBackOptions.cs
- TextRenderer.cs
- ObfuscateAssemblyAttribute.cs
- ApplicationServiceHelper.cs
- NativeMethods.cs
- SqlBulkCopy.cs
- InertiaExpansionBehavior.cs
- DataGridViewRowHeaderCell.cs
- DisplayClaim.cs
- ServiceChannelFactory.cs
- PreApplicationStartMethodAttribute.cs
- DataPagerCommandEventArgs.cs
- MessageQueueTransaction.cs
- BufferBuilder.cs
- DateTime.cs
- EditorPartChrome.cs
- DeploymentSectionCache.cs
- WinInet.cs
- columnmapkeybuilder.cs
- TextOnlyOutput.cs
- ExtractedStateEntry.cs
- FixedPage.cs
- CodeDefaultValueExpression.cs
- ExtractorMetadata.cs
- ContextMenuStrip.cs
- ZipPackagePart.cs
- SQLInt64.cs
- ExpressionDumper.cs
- ItemContainerGenerator.cs
- namescope.cs
- ToolTip.cs
- ReadOnlyDictionary.cs
- DecoderExceptionFallback.cs
- IssuanceLicense.cs
- BackgroundFormatInfo.cs
- RepeaterItem.cs
- ConnectionStringSettings.cs
- TypeGeneratedEventArgs.cs
- ConfigXmlText.cs
- ProcessHost.cs
- InteropBitmapSource.cs
- XmlBinaryReaderSession.cs
- Section.cs
- ListViewHitTestInfo.cs
- GregorianCalendar.cs
- AccessText.cs
- ImportCatalogPart.cs
- ServiceEndpointElement.cs
- PathStreamGeometryContext.cs
- OleDbDataReader.cs
- ArrangedElementCollection.cs
- FunctionImportElement.cs
- DurableMessageDispatchInspector.cs
- ToolstripProfessionalRenderer.cs
- CaseInsensitiveHashCodeProvider.cs
- Cursor.cs
- EmptyQuery.cs
- DataStreamFromComStream.cs
- ContractTypeNameElement.cs
- HostingPreferredMapPath.cs
- OnOperation.cs
- AdornerPresentationContext.cs
- DoubleAnimationUsingPath.cs
- CircleHotSpot.cs
- ConfigXmlElement.cs
- ProfileSettingsCollection.cs