Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / IO / Zip / ZipFileInfoCollection.cs / 1305600 / ZipFileInfoCollection.cs
//------------------------------------------------------------------------------ //------------- *** WARNING *** //------------- This file is part of a legally monitored development project. //------------- Do not check in changes to this project. Do not raid bugs on this //------------- code in the main PS database. Do not contact the owner of this //------------- code directly. Contact the legal team at �ZSLegal� for assistance. //------------- *** WARNING *** //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // This is an internal class that enables interactions with Zip archives // for OPC scenarios // // History: // 11/19/2004: IgorBel: Initial creation. // //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections; namespace MS.Internal.IO.Zip { ////// The only reason for existence of this class is to restrict operations that caller of the /// ZipArchive.GetFiles is allowed to perform. We want to prevent any modifications to the /// actual collection of the FileItems as it is supposed to be a read-only data structure. /// Although this is an internal API it seems that the safeguards are warranted. /// internal class ZipFileInfoCollection : IEnumerable { //------------------------------------------------------ // // Internal NON API Constructor (this constructor is marked as internal // and isNOT part of the ZIP IO API surface // //----------------------------------------------------- internal ZipFileInfoCollection(ICollection zipFileInfoCollection) { _zipFileInfoCollection = zipFileInfoCollection; } //------------------------------------------------------ // // Internal API Methods (although these methods are marked as // Internal they are part of the internal ZIP IO API surface // //------------------------------------------------------ IEnumerator IEnumerable.GetEnumerator() { return _zipFileInfoCollection.GetEnumerator(); } //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ private ICollection _zipFileInfoCollection; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UniqueCodeIdentifierScope.cs
- DetailsViewInsertEventArgs.cs
- IConvertible.cs
- OracleRowUpdatedEventArgs.cs
- Int32AnimationUsingKeyFrames.cs
- Accessible.cs
- ImplicitInputBrush.cs
- PropertyStore.cs
- HtmlInputControl.cs
- ServicesSection.cs
- DataListItem.cs
- ExtenderControl.cs
- UpdateExpressionVisitor.cs
- NullableConverter.cs
- PanelStyle.cs
- CursorEditor.cs
- Image.cs
- MonthChangedEventArgs.cs
- SynchronizedInputAdaptor.cs
- IgnorePropertiesAttribute.cs
- WindowsListViewGroupHelper.cs
- DefaultProxySection.cs
- DllNotFoundException.cs
- Padding.cs
- RootContext.cs
- Listbox.cs
- SafeNativeMethodsCLR.cs
- TableRowCollection.cs
- TextViewBase.cs
- AssociationSetEnd.cs
- CookielessHelper.cs
- Transform3D.cs
- System.Data_BID.cs
- AnnotationStore.cs
- RawTextInputReport.cs
- TableRow.cs
- ScriptingRoleServiceSection.cs
- mactripleDES.cs
- DesignRelationCollection.cs
- ValidationSummary.cs
- XmlIlVisitor.cs
- HttpHandlerAction.cs
- ApplicationCommands.cs
- MinMaxParagraphWidth.cs
- Brushes.cs
- _IPv6Address.cs
- ComboBoxRenderer.cs
- ToolStripSettings.cs
- CopyOfAction.cs
- AnnotationMap.cs
- ProcessHost.cs
- MouseBinding.cs
- Size.cs
- PtsHelper.cs
- RtfToXamlReader.cs
- MatrixCamera.cs
- UrlAuthorizationModule.cs
- XPathBinder.cs
- PointCollection.cs
- TableLayoutPanelBehavior.cs
- ConstraintStruct.cs
- BindingCollectionElement.cs
- BigInt.cs
- SmtpDateTime.cs
- InstalledFontCollection.cs
- SelectionRange.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- TrustSection.cs
- PresentationSource.cs
- Vector3DCollection.cs
- EventListener.cs
- DataFieldCollectionEditor.cs
- FileLoadException.cs
- DrawListViewSubItemEventArgs.cs
- HtmlAnchor.cs
- Metafile.cs
- SQLCharsStorage.cs
- TransformGroup.cs
- SiteMap.cs
- CustomValidator.cs
- BasicKeyConstraint.cs
- ListViewInsertionMark.cs
- ToolStripEditorManager.cs
- EntityContainerEmitter.cs
- DataPagerCommandEventArgs.cs
- AggregatePushdown.cs
- SafeNativeMethods.cs
- ContainerFilterService.cs
- StrongName.cs
- CommonGetThemePartSize.cs
- ADRole.cs
- BoundPropertyEntry.cs
- ProfileService.cs
- DetailsViewRowCollection.cs
- ServiceHostingEnvironmentSection.cs
- TCPListener.cs
- EnumDataContract.cs
- LoginNameDesigner.cs
- DropShadowBitmapEffect.cs
- UnsafeNativeMethods.cs