2016-08-03 10:59:49 +00:00
|
|
|
|
//---------------------------------------------------------------------
|
|
|
|
|
// <copyright file="ObjectItemNoOpAssemblyLoader.cs" company="Microsoft">
|
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
// </copyright>
|
|
|
|
|
//
|
2017-08-21 15:34:15 +00:00
|
|
|
|
// @owner Microsoft
|
|
|
|
|
// @backupOwner Microsoft
|
2016-08-03 10:59:49 +00:00
|
|
|
|
//---------------------------------------------------------------------
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
|
|
|
|
namespace System.Data.Metadata.Edm
|
|
|
|
|
{
|
|
|
|
|
internal class ObjectItemNoOpAssemblyLoader : ObjectItemAssemblyLoader
|
|
|
|
|
{
|
|
|
|
|
internal ObjectItemNoOpAssemblyLoader(Assembly assembly, ObjectItemLoadingSessionData sessionData)
|
|
|
|
|
: base(assembly, new MutableAssemblyCacheEntry(), sessionData)
|
|
|
|
|
{ }
|
|
|
|
|
|
|
|
|
|
internal override void Load()
|
|
|
|
|
{
|
|
|
|
|
// don't do anything but make sure we know we have seen this assembly
|
|
|
|
|
if (!SessionData.KnownAssemblies.Contains(SourceAssembly, SessionData.ObjectItemAssemblyLoaderFactory, SessionData.EdmItemCollection))
|
|
|
|
|
{
|
|
|
|
|
AddToKnownAssemblies();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void AddToAssembliesLoaded()
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void LoadTypesFromAssembly()
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|