16 references to Memoizer
System.Data.Entity (16)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
1203new Memoizer<SchemaDataModelOption, XmlSchemaSet>(ComputeSchemaSet, EqualityComparer<SchemaDataModelOption>.Default);
System\Data\Mapping\FunctionImportMapping.cs (1)
586this._convertedValues = new Memoizer<Type, object>(this.GetConditionValue, null);
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (1)
191this._renameCache = new Memoizer<StructuralType, FunctionImportReturnTypeStructuralTypeColumn>(
System\Data\Mapping\StorageEntityContainerMapping.cs (1)
59this.m_memoizedCellGroupEvaluator = new Memoizer<InputForComputingCellGroups, OutputFromComputeCellGroups>(ComputeCellGroups, new InputForComputingCellGroups());
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (2)
61this.m_generatedViewsMemoizer = new Memoizer<EntityContainer, Dictionary<EntitySetBase, GeneratedView>>(SerializedGetGeneratedViews, null); 62this.m_generatedViewOfTypeMemoizer = new Memoizer<OfTypeQVCacheKey, GeneratedView>(SerializedGeneratedViewOfType, OfTypeQVCacheKey.PairComparer.Instance);
System\Data\Metadata\Edm\ItemCollection.cs (1)
202new Memoizer<Type, ICollection>(InternalGetItems, null);
System\Data\Metadata\Edm\MetadataPropertyCollection.cs (1)
35new Memoizer<Type, ItemTypeInformation>(clrType => new ItemTypeInformation(clrType), null);
System\Data\Metadata\EdmItemCollection.cs (2)
226Interlocked.CompareExchange(ref _getCanonicalInitializerMetadataMemoizer, new Memoizer<InitializerMetadata, InitializerMetadata>( 440new Memoizer<EdmFunction, DbLambda>(GenerateFunctionDefinition, null),
System\Data\Metadata\MetadataCache.cs (2)
54private static Memoizer<string, List<MetadataArtifactLoader>> _artifactLoaderCache = new Memoizer<string, List<MetadataArtifactLoader>>(MetadataCache.SplitPaths, null); 407new Memoizer<string, List<MetadataArtifactLoader>>(MetadataCache.SplitPaths, null);
System\Data\Metadata\ObjectLayer\MetadataAssemblyHelper.cs (1)
21private static Memoizer<Assembly, bool> _filterAssemblyCacheByAssembly = new Memoizer<Assembly, bool>(MetadataAssemblyHelper.ComputeShouldFilterAssembly, EqualityComparer<Assembly>.Default);
System\Data\Metadata\StoreItemCollection.cs (2)
61_cachedCTypeFunction = new Memoizer<EdmFunction, EdmFunction>(ConvertFunctionSignatureToCType, null); 196cachedCTypeFunction = new Memoizer<EdmFunction, EdmFunction>(ConvertFunctionSignatureToCType, null);
System\Data\Objects\Internal\EntityWrapperFactory.cs (1)
29private static readonly Memoizer<Type, Func<object, IEntityWrapper>> _delegateCache = new Memoizer<Type, Func<object, IEntityWrapper>>(CreateWrapperDelegate, null);