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
- ParagraphVisual.cs
- StringHelper.cs
- StyleHelper.cs
- TableLayoutStyleCollection.cs
- TreeNodeClickEventArgs.cs
- TextDpi.cs
- AuthenticatedStream.cs
- DiscoveryClientBindingElement.cs
- ToolStripItemCollection.cs
- GridToolTip.cs
- SQLMoneyStorage.cs
- InputScopeNameConverter.cs
- StringUtil.cs
- Help.cs
- GenericParameterDataContract.cs
- VBCodeProvider.cs
- SectionRecord.cs
- FirstQueryOperator.cs
- Literal.cs
- WebBrowserBase.cs
- GridErrorDlg.cs
- XmlSerializerFactory.cs
- EventPropertyMap.cs
- EmissiveMaterial.cs
- DrawingState.cs
- OneOfElement.cs
- TimeSpanValidatorAttribute.cs
- JavaScriptSerializer.cs
- Convert.cs
- ObjectDataSource.cs
- SecurityPolicySection.cs
- XmlIgnoreAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- SmtpException.cs
- LayeredChannelListener.cs
- RepeatInfo.cs
- LabelLiteral.cs
- MustUnderstandBehavior.cs
- CharacterShapingProperties.cs
- UpdateExpressionVisitor.cs
- X509CertificateStore.cs
- ClassDataContract.cs
- WebPartConnectionsCloseVerb.cs
- SolidBrush.cs
- BuildProvider.cs
- TrackingProfileDeserializationException.cs
- WsdlContractConversionContext.cs
- TypeDescriptionProviderAttribute.cs
- ContentPlaceHolder.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ServiceOperation.cs
- MsmqPoisonMessageException.cs
- RegexCompilationInfo.cs
- DataSysAttribute.cs
- Closure.cs
- AssemblyUtil.cs
- ComponentEditorForm.cs
- EllipseGeometry.cs
- ConfigurationCollectionAttribute.cs
- AutomationIdentifierGuids.cs
- PropertyOverridesTypeEditor.cs
- EventDescriptor.cs
- XmlNodeChangedEventArgs.cs
- SchemaImporter.cs
- DynamicQueryableWrapper.cs
- DictionaryGlobals.cs
- HighlightVisual.cs
- ExecutionScope.cs
- DataGridViewColumnCollectionDialog.cs
- filewebresponse.cs
- SafeLocalMemHandle.cs
- WindowsSysHeader.cs
- ProfileBuildProvider.cs
- Material.cs
- NativeMethods.cs
- _LazyAsyncResult.cs
- DispatcherExceptionEventArgs.cs
- TableRow.cs
- StyleBamlTreeBuilder.cs
- OrthographicCamera.cs
- XmlSchemaGroup.cs
- GrammarBuilderBase.cs
- ExpressionCopier.cs
- XmlTextReaderImpl.cs
- DashStyle.cs
- ButtonRenderer.cs
- InternalsVisibleToAttribute.cs
- CryptoApi.cs
- TimeManager.cs
- grammarelement.cs
- XmlSchemaSimpleTypeRestriction.cs
- HtmlTextViewAdapter.cs
- PrinterSettings.cs
- ColorDialog.cs
- SpecialFolderEnumConverter.cs
- ClientSideQueueItem.cs
- Options.cs
- DependencyPropertyValueSerializer.cs
- _AutoWebProxyScriptEngine.cs
- XMLSyntaxException.cs