16 instantiations of 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);
18 references to Memoizer
System.Data.Entity (18)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
1202
private static
Memoizer
<SchemaDataModelOption, XmlSchemaSet> _cachedSchemaSets =
System\Data\Mapping\FunctionImportMapping.cs (1)
590
private readonly
Memoizer
<Type, object> _convertedValues;
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (1)
184
private
Memoizer
<StructuralType, FunctionImportReturnTypeStructuralTypeColumn> _renameCache;
System\Data\Mapping\StorageEntityContainerMapping.cs (1)
79
private readonly
Memoizer
<InputForComputingCellGroups, OutputFromComputeCellGroups> m_memoizedCellGroupEvaluator;
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (2)
50
private readonly
Memoizer
<EntityContainer, Dictionary<EntitySetBase, GeneratedView>> m_generatedViewsMemoizer;
54
private readonly
Memoizer
<OfTypeQVCacheKey, GeneratedView> m_generatedViewOfTypeMemoizer;
System\Data\Metadata\Edm\ItemCollection.cs (3)
43
private
Memoizer
<Type, ICollection> _itemsCache;
197
Memoizer
<Type, ICollection> currentValueForItemCache = _itemsCache;
201
Memoizer
<Type, ICollection> itemsCache =
System\Data\Metadata\Edm\MetadataPropertyCollection.cs (1)
34
private readonly static
Memoizer
<Type, ItemTypeInformation> s_itemTypeMemoizer =
System\Data\Metadata\EdmItemCollection.cs (2)
183
private
Memoizer
<InitializerMetadata, InitializerMetadata> _getCanonicalInitializerMetadataMemoizer;
188
private
Memoizer
<EdmFunction, DbLambda> _getGeneratedFunctionDefinitionsMemoizer;
System\Data\Metadata\MetadataCache.cs (2)
54
private static
Memoizer
<string, List<MetadataArtifactLoader>> _artifactLoaderCache = new Memoizer<string, List<MetadataArtifactLoader>>(MetadataCache.SplitPaths, null);
406
Memoizer
<string, List<MetadataArtifactLoader>> artifactLoaderCacheTemp =
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)
32
private readonly
Memoizer
<EdmFunction, EdmFunction> _cachedCTypeFunction;
191
out
Memoizer
<EdmFunction, EdmFunction> cachedCTypeFunction)
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);