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