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