4 types derived from ObjectItemAssemblyLoader
System.Data.Entity (4)
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (1)
24
internal sealed class ObjectItemAttributeAssemblyLoader :
ObjectItemAssemblyLoader
System\Data\Metadata\ObjectLayer\ObjectItemCachedAssemblyLoader.cs (1)
14
internal sealed class ObjectItemCachedAssemblyLoader :
ObjectItemAssemblyLoader
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
19
internal sealed class ObjectItemConventionAssemblyLoader :
ObjectItemAssemblyLoader
System\Data\Metadata\ObjectLayer\ObjectItemNoOpAssemblyLoader.cs (1)
13
internal class ObjectItemNoOpAssemblyLoader :
ObjectItemAssemblyLoader
27 references to ObjectItemAssemblyLoader
System.Data.Entity (27)
System\Data\Metadata\ObjectLayer\AssemblyCache.cs (5)
42
Debug.Assert(loaderCookie == null || loaderCookie is Func<Assembly, ObjectItemLoadingSessionData,
ObjectItemAssemblyLoader
>, "This is a bad loader cookie");
65
if (
ObjectItemAssemblyLoader
.IsAttributeLoader(loadingData.ObjectItemAssemblyLoaderFactory))
73
ObjectItemAssemblyLoader
.IsConventionLoader(loadingData.ObjectItemAssemblyLoaderFactory))
105
ObjectItemAssemblyLoader
loader =
ObjectItemAssemblyLoader
.CreateLoader(assembly, loadingData);
System\Data\Metadata\ObjectLayer\KnownAssemblyEntry.cs (1)
53
ObjectItemAssemblyLoader
.IsAttributeLoader(loaderCookie);
System\Data\Metadata\ObjectLayer\ObjectItemAssemblyLoader.cs (7)
56
internal static
ObjectItemAssemblyLoader
CreateLoader(Assembly assembly, ObjectItemLoadingSessionData sessionData)
117
Debug.Assert(loaderCookie == null || loaderCookie is Func<Assembly, ObjectItemLoadingSessionData,
ObjectItemAssemblyLoader
>, "Non loader cookie passed in");
118
return IsAttributeLoader(loaderCookie as Func<Assembly, ObjectItemLoadingSessionData,
ObjectItemAssemblyLoader
>);
121
internal static bool IsAttributeLoader(Func<Assembly, ObjectItemLoadingSessionData,
ObjectItemAssemblyLoader
> loaderFactory)
131
internal static bool IsConventionLoader(Func<Assembly, ObjectItemLoadingSessionData,
ObjectItemAssemblyLoader
> loaderFactory)
151
ObjectItemAssemblyLoader
loader =
ObjectItemAssemblyLoader
.CreateLoader(assembly, sessionData);
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (1)
748
internal static
ObjectItemAssemblyLoader
Create(Assembly assembly, ObjectItemLoadingSessionData sessionData)
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (1)
773
internal static
ObjectItemAssemblyLoader
Create(Assembly assembly, ObjectItemLoadingSessionData sessionData)
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (12)
18
private Func<Assembly, ObjectItemLoadingSessionData,
ObjectItemAssemblyLoader
> _loaderFactory;
41
private readonly HashSet<
ObjectItemAssemblyLoader
> _loadersThatNeedLevel1PostSessionProcessing;
42
private readonly HashSet<
ObjectItemAssemblyLoader
> _loadersThatNeedLevel2PostSessionProcessing;
102
internal Func<Assembly, ObjectItemLoadingSessionData,
ObjectItemAssemblyLoader
> ObjectItemAssemblyLoaderFactory
132
Debug.Assert(loaderCookie == null || loaderCookie is Func<Assembly, ObjectItemLoadingSessionData,
ObjectItemAssemblyLoader
>, "This is a bad loader cookie");
138
_loadersThatNeedLevel1PostSessionProcessing = new HashSet<
ObjectItemAssemblyLoader
>();
139
_loadersThatNeedLevel2PostSessionProcessing = new HashSet<
ObjectItemAssemblyLoader
>();
143
_loaderFactory = (Func<Assembly, ObjectItemLoadingSessionData,
ObjectItemAssemblyLoader
>)loaderCookie;
177
internal void RegisterForLevel1PostSessionProcessing(
ObjectItemAssemblyLoader
loader)
182
internal void RegisterForLevel2PostSessionProcessing(
ObjectItemAssemblyLoader
loader)
189
foreach (
ObjectItemAssemblyLoader
loader in _loadersThatNeedLevel1PostSessionProcessing)
194
foreach (
ObjectItemAssemblyLoader
loader in _loadersThatNeedLevel2PostSessionProcessing)