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
- InternalsVisibleToAttribute.cs
- AnnouncementClient.cs
- SecurityManager.cs
- ForeignKeyConstraint.cs
- BidirectionalDictionary.cs
- COM2TypeInfoProcessor.cs
- ValidationError.cs
- __Filters.cs
- ParameterElementCollection.cs
- SHA384Cng.cs
- MultipleViewPattern.cs
- DefaultValueConverter.cs
- SqlCacheDependencyDatabase.cs
- NamespaceEmitter.cs
- DataGridViewCell.cs
- WebReference.cs
- NullableBoolConverter.cs
- ImageAttributes.cs
- SubpageParagraph.cs
- OleDbWrapper.cs
- HyperLinkField.cs
- ClientTargetCollection.cs
- ResourcesBuildProvider.cs
- MetadataSerializer.cs
- IMembershipProvider.cs
- BCLDebug.cs
- FontCacheUtil.cs
- FixedHyperLink.cs
- UshortList2.cs
- IWorkflowDebuggerService.cs
- BuildProviderAppliesToAttribute.cs
- SqlBulkCopy.cs
- TransformerInfo.cs
- FileLogRecord.cs
- ListBindingConverter.cs
- Bold.cs
- DispatcherOperation.cs
- TemplatedMailWebEventProvider.cs
- SpellerInterop.cs
- DescriptionCreator.cs
- SoapProtocolImporter.cs
- OdbcRowUpdatingEvent.cs
- SecurityPermission.cs
- WorkflowExecutor.cs
- SymbolPair.cs
- FontInfo.cs
- BasicDesignerLoader.cs
- ProtectedProviderSettings.cs
- MetadataItem_Static.cs
- DelegateSerializationHolder.cs
- PropertyPathConverter.cs
- RankException.cs
- EditorOptionAttribute.cs
- EncodingStreamWrapper.cs
- LoginCancelEventArgs.cs
- AsyncOperation.cs
- CompilerHelpers.cs
- InvariantComparer.cs
- KerberosSecurityTokenProvider.cs
- GlyphElement.cs
- HtmlWindowCollection.cs
- HashCodeCombiner.cs
- TypeConverter.cs
- OleDbError.cs
- Vector.cs
- FormsAuthenticationModule.cs
- BoundColumn.cs
- XmlTextEncoder.cs
- SaveFileDialog.cs
- VariableQuery.cs
- ProviderException.cs
- CallbackWrapper.cs
- ScriptResourceInfo.cs
- HuffCodec.cs
- DataGrid.cs
- Latin1Encoding.cs
- CommandField.cs
- PropertyMap.cs
- UriScheme.cs
- SoapHttpTransportImporter.cs
- ToolStripManager.cs
- OdbcCommand.cs
- LogRecordSequence.cs
- DataPointer.cs
- RadioButton.cs
- KeyEvent.cs
- FlowNode.cs
- EntityDataSourceStatementEditorForm.cs
- ContractUtils.cs
- InvokerUtil.cs
- _HeaderInfo.cs
- ServicesUtilities.cs
- SessionSwitchEventArgs.cs
- mactripleDES.cs
- XmlDownloadManager.cs
- BackgroundFormatInfo.cs
- HttpCacheVary.cs
- BuildResult.cs
- DataTableMappingCollection.cs
- DependsOnAttribute.cs