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
- TextEffectCollection.cs
- StringFreezingAttribute.cs
- XamlVector3DCollectionSerializer.cs
- SystemNetworkInterface.cs
- StreamUpdate.cs
- Stack.cs
- WebBaseEventKeyComparer.cs
- PropertySegmentSerializationProvider.cs
- SqlExpander.cs
- HttpProcessUtility.cs
- TextWriterTraceListener.cs
- SplitContainer.cs
- Activator.cs
- BamlRecordReader.cs
- OutputChannelBinder.cs
- RSAOAEPKeyExchangeFormatter.cs
- PropertyValueUIItem.cs
- DomNameTable.cs
- LocationUpdates.cs
- XmlLinkedNode.cs
- LassoHelper.cs
- OleDbParameter.cs
- PropagatorResult.cs
- ToolStripButton.cs
- SoundPlayerAction.cs
- InvokeAction.cs
- AlgoModule.cs
- ExcCanonicalXml.cs
- iisPickupDirectory.cs
- ValidationError.cs
- SmtpSection.cs
- OraclePermission.cs
- AnnotationObservableCollection.cs
- TrustLevel.cs
- HttpModulesInstallComponent.cs
- AbandonedMutexException.cs
- RegexNode.cs
- Exception.cs
- SynchronizedInputPattern.cs
- NameObjectCollectionBase.cs
- XPathDocumentIterator.cs
- Margins.cs
- VerticalAlignConverter.cs
- XPathAncestorQuery.cs
- WebUtil.cs
- Decoder.cs
- SqlNodeTypeOperators.cs
- PropertyGeneratedEventArgs.cs
- ObjectKeyFrameCollection.cs
- BamlResourceDeserializer.cs
- DataGridState.cs
- IItemProperties.cs
- LicenseManager.cs
- CacheOutputQuery.cs
- ComPlusAuthorization.cs
- DBBindings.cs
- MSAAWinEventWrap.cs
- CodeGotoStatement.cs
- ExtensionDataReader.cs
- DesignerView.cs
- DebuggerAttributes.cs
- TextRangeProviderWrapper.cs
- XmlBoundElement.cs
- BindingCollection.cs
- EventDescriptorCollection.cs
- RegexGroup.cs
- TimeSpanFormat.cs
- XmlEntity.cs
- EntryIndex.cs
- SynchronousChannelMergeEnumerator.cs
- CodeObject.cs
- RankException.cs
- TableItemPattern.cs
- MetadataCollection.cs
- PenCursorManager.cs
- DataGridViewDesigner.cs
- AppLevelCompilationSectionCache.cs
- EncoderNLS.cs
- SplashScreenNativeMethods.cs
- MetafileHeaderEmf.cs
- ProfileService.cs
- ZipIORawDataFileBlock.cs
- DataSpaceManager.cs
- DataSetMappper.cs
- ResolveNameEventArgs.cs
- FtpWebResponse.cs
- XmlSigningNodeWriter.cs
- WebServiceReceiveDesigner.cs
- HandledMouseEvent.cs
- EncoderReplacementFallback.cs
- WebServiceTypeData.cs
- MarkedHighlightComponent.cs
- ProfileServiceManager.cs
- DataSourceSelectArguments.cs
- DirectoryRedirect.cs
- OutputCacheProfile.cs
- Italic.cs
- Content.cs
- DataTableClearEvent.cs
- ContentPosition.cs