Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / ObjectLayer / ImmutableAssemblyCacheEntry.cs / 1305376 / ImmutableAssemblyCacheEntry.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Collections.Generic; using System.Reflection; namespace System.Data.Metadata.Edm { internal partial class ImmutableAssemblyCacheEntry : AssemblyCacheEntry { // types in "this" assembly private readonly System.Collections.ObjectModel.ReadOnlyCollection_typesInAssembly; // other assemblies referenced by types we care about in "this" assembly private readonly System.Collections.ObjectModel.ReadOnlyCollection _closureAssemblies; internal ImmutableAssemblyCacheEntry(MutableAssemblyCacheEntry mutableEntry) { _typesInAssembly = new List (mutableEntry.TypesInAssembly).AsReadOnly(); _closureAssemblies = new List (mutableEntry.ClosureAssemblies).AsReadOnly(); } internal override IList TypesInAssembly { get { return _typesInAssembly; } } internal override IList ClosureAssemblies { get { return _closureAssemblies; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Collections.Generic; using System.Reflection; namespace System.Data.Metadata.Edm { internal partial class ImmutableAssemblyCacheEntry : AssemblyCacheEntry { // types in "this" assembly private readonly System.Collections.ObjectModel.ReadOnlyCollection_typesInAssembly; // other assemblies referenced by types we care about in "this" assembly private readonly System.Collections.ObjectModel.ReadOnlyCollection _closureAssemblies; internal ImmutableAssemblyCacheEntry(MutableAssemblyCacheEntry mutableEntry) { _typesInAssembly = new List (mutableEntry.TypesInAssembly).AsReadOnly(); _closureAssemblies = new List (mutableEntry.ClosureAssemblies).AsReadOnly(); } internal override IList TypesInAssembly { get { return _typesInAssembly; } } internal override IList ClosureAssemblies { get { return _closureAssemblies; } } } } // 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
- TypeUtils.cs
- CellParagraph.cs
- SpeakProgressEventArgs.cs
- Internal.cs
- Matrix.cs
- FileDataSourceCache.cs
- TcpTransportElement.cs
- Mutex.cs
- SqlNotificationRequest.cs
- OrderByQueryOptionExpression.cs
- CryptoApi.cs
- PageTheme.cs
- FtpWebRequest.cs
- Int32AnimationBase.cs
- TemplatingOptionsDialog.cs
- CookieParameter.cs
- SignatureDescription.cs
- ComplexTypeEmitter.cs
- DesignUtil.cs
- ReturnType.cs
- NumberEdit.cs
- NonParentingControl.cs
- XmlDocumentSurrogate.cs
- OrderByQueryOptionExpression.cs
- CodeVariableDeclarationStatement.cs
- ServiceHostingEnvironment.cs
- TokenBasedSet.cs
- RenderOptions.cs
- DesignerSerializerAttribute.cs
- ValueUtilsSmi.cs
- TreeView.cs
- ListBoxItemWrapperAutomationPeer.cs
- ReachPrintTicketSerializer.cs
- FileEnumerator.cs
- InvokeBase.cs
- RequestUriProcessor.cs
- ComboBox.cs
- GridViewColumnCollectionChangedEventArgs.cs
- DataServiceProcessingPipeline.cs
- CodeTypeParameterCollection.cs
- CodeTypeParameterCollection.cs
- TableParagraph.cs
- EncodingDataItem.cs
- XsltSettings.cs
- Size3DConverter.cs
- DesignerView.Commands.cs
- ExitEventArgs.cs
- MailSettingsSection.cs
- DashStyles.cs
- DocumentEventArgs.cs
- ModifierKeysValueSerializer.cs
- StateChangeEvent.cs
- AssemblyInfo.cs
- __Error.cs
- typedescriptorpermission.cs
- DesignerAttribute.cs
- ConfigurationElement.cs
- AsyncStreamReader.cs
- HandleCollector.cs
- OperationInvokerBehavior.cs
- KernelTypeValidation.cs
- SettingsSection.cs
- ZoneMembershipCondition.cs
- PageBuildProvider.cs
- _ProxyRegBlob.cs
- StringAnimationUsingKeyFrames.cs
- Calendar.cs
- CheckBoxBaseAdapter.cs
- CellParaClient.cs
- Odbc32.cs
- InvokeMemberBinder.cs
- ListViewSortEventArgs.cs
- VisualCollection.cs
- WorkerRequest.cs
- X509ClientCertificateAuthenticationElement.cs
- _ContextAwareResult.cs
- QilName.cs
- hresults.cs
- WasNotInstalledException.cs
- TextDocumentView.cs
- DatePickerAutomationPeer.cs
- Table.cs
- ApplyImportsAction.cs
- JsonFormatGeneratorStatics.cs
- RolePrincipal.cs
- OpCopier.cs
- TextPointerBase.cs
- XmlQualifiedName.cs
- HostedTransportConfigurationManager.cs
- NetworkInformationPermission.cs
- BinaryWriter.cs
- ResizeGrip.cs
- ProjectedSlot.cs
- MemberBinding.cs
- PaperSize.cs
- PrivilegedConfigurationManager.cs
- ToolStripPanelRenderEventArgs.cs
- EncryptedPackageFilter.cs
- TransportBindingElementImporter.cs
- CodeGenerator.cs