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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlTextAttribute.cs
- HotSpot.cs
- InternalConfigHost.cs
- SystemUnicastIPAddressInformation.cs
- EastAsianLunisolarCalendar.cs
- TextAnchor.cs
- FileVersionInfo.cs
- SqlServer2KCompatibilityAnnotation.cs
- SessionStateUtil.cs
- TextContainerChangeEventArgs.cs
- Pool.cs
- ServicePointManagerElement.cs
- ExpandedWrapper.cs
- ToolStripManager.cs
- HashAlgorithm.cs
- CommandHelper.cs
- OleDbMetaDataFactory.cs
- FileLevelControlBuilderAttribute.cs
- XmlSignatureProperties.cs
- SqlDelegatedTransaction.cs
- NameNode.cs
- ScrollPattern.cs
- MobileTemplatedControlDesigner.cs
- WinHttpWebProxyFinder.cs
- QilInvoke.cs
- ReferencedType.cs
- RuleRefElement.cs
- XsltContext.cs
- Html32TextWriter.cs
- ExpressionEditorAttribute.cs
- SecurityTokenSerializer.cs
- KeyboardDevice.cs
- Collection.cs
- Model3DGroup.cs
- TextTrailingCharacterEllipsis.cs
- BaseHashHelper.cs
- ClickablePoint.cs
- Quaternion.cs
- BrowserCapabilitiesFactory.cs
- EmptyWithCancelationCheckWorkItem.cs
- MethodExpr.cs
- RC2CryptoServiceProvider.cs
- PointConverter.cs
- AnimationStorage.cs
- ApplicationSecurityManager.cs
- WebBrowserBase.cs
- DataGrid.cs
- OperationExecutionFault.cs
- LinkLabel.cs
- FixedTextContainer.cs
- HttpModuleActionCollection.cs
- GPStream.cs
- HMAC.cs
- ChangeConflicts.cs
- MasterPageParser.cs
- BaseDataBoundControl.cs
- EdmToObjectNamespaceMap.cs
- ping.cs
- XsdDuration.cs
- StrokeDescriptor.cs
- validationstate.cs
- SignatureHelper.cs
- ElementAction.cs
- wgx_render.cs
- TabControl.cs
- MetadataCacheItem.cs
- ObjectComplexPropertyMapping.cs
- SerializationEventsCache.cs
- Attributes.cs
- InputProcessorProfiles.cs
- Cursors.cs
- ReceiveCompletedEventArgs.cs
- Guid.cs
- StringUtil.cs
- JsonSerializer.cs
- InternalDuplexChannelFactory.cs
- Fx.cs
- MetadataItemCollectionFactory.cs
- WinOEToolBoxItem.cs
- InfoCardClaimCollection.cs
- SqlInfoMessageEvent.cs
- MSHTMLHost.cs
- TextTreeText.cs
- Scanner.cs
- ConnectionProviderAttribute.cs
- ExecutionEngineException.cs
- DataControlReferenceCollection.cs
- CodeGeneratorOptions.cs
- LinkDescriptor.cs
- GridItemPatternIdentifiers.cs
- ProfilePropertyNameValidator.cs
- RegionInfo.cs
- ConsumerConnectionPointCollection.cs
- Control.cs
- ColorIndependentAnimationStorage.cs
- SurrogateSelector.cs
- DrawingContextDrawingContextWalker.cs
- DoubleStorage.cs
- SelectionWordBreaker.cs
- SettingsSection.cs