Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / ObjectLayer / AssemblyCacheEntry.cs / 1305376 / AssemblyCacheEntry.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Collections.Generic; using System.Reflection; namespace System.Data.Metadata.Edm { internal abstract class AssemblyCacheEntry { internal abstract IListTypesInAssembly { get; } internal abstract IList ClosureAssemblies { get; } internal bool TryGetEdmType(string typeName, out EdmType edmType) { edmType = null; foreach (EdmType loadedEdmType in this.TypesInAssembly) { if (loadedEdmType.Identity == typeName) { edmType = loadedEdmType; break; } } return (edmType != null); } internal bool ContainsType(string typeName) { EdmType edmType = null; return TryGetEdmType(typeName, out edmType); } } } // 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 abstract class AssemblyCacheEntry { internal abstract IListTypesInAssembly { get; } internal abstract IList ClosureAssemblies { get; } internal bool TryGetEdmType(string typeName, out EdmType edmType) { edmType = null; foreach (EdmType loadedEdmType in this.TypesInAssembly) { if (loadedEdmType.Identity == typeName) { edmType = loadedEdmType; break; } } return (edmType != null); } internal bool ContainsType(string typeName) { EdmType edmType = null; return TryGetEdmType(typeName, out edmType); } } } // 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
- DictionaryContent.cs
- IntMinMaxAggregationOperator.cs
- KeyboardEventArgs.cs
- ObjectDataSourceEventArgs.cs
- Size3D.cs
- ZoneLinkButton.cs
- PersonalizableAttribute.cs
- ListMarkerSourceInfo.cs
- OracleParameterCollection.cs
- AttributeData.cs
- WebContentFormatHelper.cs
- ListView.cs
- RelationshipSet.cs
- EntitySqlQueryCacheEntry.cs
- EventManager.cs
- OutOfMemoryException.cs
- ConfigXmlElement.cs
- AppSettingsExpressionBuilder.cs
- ArrayWithOffset.cs
- DriveInfo.cs
- ListViewPagedDataSource.cs
- StorageModelBuildProvider.cs
- ProviderUtil.cs
- StrongNameIdentityPermission.cs
- LinqDataSourceContextData.cs
- StringFormat.cs
- BindUriHelper.cs
- ReadOnlyDictionary.cs
- Dictionary.cs
- DataTemplate.cs
- IgnorePropertiesAttribute.cs
- KeyValuePairs.cs
- SqlDataSourceConfigureFilterForm.cs
- followingsibling.cs
- SafeRegistryKey.cs
- StyleHelper.cs
- PassportAuthenticationModule.cs
- ImageCodecInfo.cs
- Sequence.cs
- DataPagerFieldItem.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- AnimationTimeline.cs
- CodeCatchClause.cs
- DataRowChangeEvent.cs
- WmpBitmapEncoder.cs
- HttpWebRequest.cs
- CapabilitiesSection.cs
- KnownIds.cs
- EntitySetBaseCollection.cs
- XamlReaderHelper.cs
- ElementAtQueryOperator.cs
- WebScriptMetadataInstanceContextProvider.cs
- NetNamedPipeSecurity.cs
- ToolStripContentPanelRenderEventArgs.cs
- ContractTypeNameElement.cs
- SchemaElementLookUpTable.cs
- Multiply.cs
- TypeDescriptor.cs
- MetadataItemSerializer.cs
- Inflater.cs
- coordinator.cs
- DataRow.cs
- TextPointerBase.cs
- RelOps.cs
- GenerateTemporaryTargetAssembly.cs
- Utils.cs
- SerializationException.cs
- SecuritySessionFilter.cs
- HtmlShim.cs
- SamlAuthorizationDecisionStatement.cs
- Compilation.cs
- coordinator.cs
- PKCS1MaskGenerationMethod.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- FixedBufferAttribute.cs
- BevelBitmapEffect.cs
- RegexTree.cs
- ScrollBarAutomationPeer.cs
- TypeKeyValue.cs
- SamlAuthorizationDecisionStatement.cs
- MarshalDirectiveException.cs
- AdPostCacheSubstitution.cs
- HtmlTitle.cs
- ShaderRenderModeValidation.cs
- OleDbInfoMessageEvent.cs
- ChangesetResponse.cs
- ImageSourceValueSerializer.cs
- XmlILModule.cs
- ObjectSecurity.cs
- CodeTypeDeclarationCollection.cs
- Point3DAnimationBase.cs
- BinaryWriter.cs
- SoapMessage.cs
- IntSumAggregationOperator.cs
- ListBindingHelper.cs
- FocusWithinProperty.cs
- DataKey.cs
- InkCanvasAutomationPeer.cs
- Form.cs
- ConfigurationStrings.cs