MockAssembly MockAssembly Class

Syntax

Declaration

public class MockAssembly : Assembly, _Assembly, IEvidenceFactory, ICustomAttributeProvider, ISerializablePublic Class MockAssembly
    Inherits Assembly
    Implements _Assembly, IEvidenceFactory, ICustomAttributeProvider, ISerializable

Inheritance Hierarchy

  • System.Object
    System.Object
  • System.Reflection.Assembly
    System.Reflection.Assembly
  • MockAssembly
    MockAssembly

Inherited Members

CreateQualifiedName(String, String),
CreateQualifiedName(String, String),
GetAssembly(Type),
GetAssembly(Type),
Equals(Object),
Equals(Object),
GetHashCode(),
GetHashCode(),
LoadFrom(String),
LoadFrom(String),
ReflectionOnlyLoadFrom(String),
ReflectionOnlyLoadFrom(String),
LoadFrom(String, Evidence),
LoadFrom(String, Evidence),
LoadFrom(String, Evidence, Byte[], AssemblyHashAlgorithm),
LoadFrom(String, Evidence, Byte(), AssemblyHashAlgorithm),
LoadFrom(String, Byte[], AssemblyHashAlgorithm),
LoadFrom(String, Byte(), AssemblyHashAlgorithm),
UnsafeLoadFrom(String),
UnsafeLoadFrom(String),
Load(String),
Load(String),
ReflectionOnlyLoad(String),
ReflectionOnlyLoad(String),
Load(String, Evidence),
Load(String, Evidence),
Load(AssemblyName),
Load(AssemblyName),
Load(AssemblyName, Evidence),
Load(AssemblyName, Evidence),
LoadWithPartialName(String),
LoadWithPartialName(String),
LoadWithPartialName(String, Evidence),
LoadWithPartialName(String, Evidence),
Load(Byte[]),
Load(Byte()),
ReflectionOnlyLoad(Byte[]),
ReflectionOnlyLoad(Byte()),
Load(Byte[], Byte[]),
Load(Byte(), Byte()),
Load(Byte[], Byte[], SecurityContextSource),
Load(Byte(), Byte(), SecurityContextSource),
Load(Byte[], Byte[], Evidence),
Load(Byte(), Byte(), Evidence),
LoadFile(String),
LoadFile(String),
LoadFile(String, Evidence),
LoadFile(String, Evidence),
GetExecutingAssembly(),
GetExecutingAssembly(),
GetCallingAssembly(),
GetCallingAssembly(),
GetEntryAssembly(),
GetEntryAssembly(),
GetName(Boolean),
GetName(Boolean),
_Assembly.GetType(),
System.Runtime.InteropServices._Assembly.GetType(),
GetType(String),
GetType(String),
GetType(String, Boolean),
GetType(String, Boolean),
GetType(String, Boolean, Boolean),
GetType(String, Boolean, Boolean),
GetExportedTypes(),
GetExportedTypes(),
GetTypes(),
GetTypes(),
GetManifestResourceStream(Type, String),
GetManifestResourceStream(Type, String),
GetManifestResourceStream(String),
GetManifestResourceStream(String),
GetSatelliteAssembly(CultureInfo),
GetSatelliteAssembly(CultureInfo),
GetSatelliteAssembly(CultureInfo, Version),
GetSatelliteAssembly(CultureInfo, Version),
GetObjectData(SerializationInfo, StreamingContext),
GetObjectData(SerializationInfo, StreamingContext),
GetCustomAttributes(Boolean),
GetCustomAttributes(Boolean),
GetCustomAttributes(Type, Boolean),
GetCustomAttributes(Type, Boolean),
IsDefined(Type, Boolean),
IsDefined(Type, Boolean),
GetCustomAttributesData(),
GetCustomAttributesData(),
LoadModule(String, Byte[]),
LoadModule(String, Byte()),
LoadModule(String, Byte[], Byte[]),
LoadModule(String, Byte(), Byte()),
CreateInstance(String),
CreateInstance(String),
CreateInstance(String, Boolean),
CreateInstance(String, Boolean),
CreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[]),
CreateInstance(String, Boolean, BindingFlags, Binder, Object(), CultureInfo, Object()),
GetLoadedModules(),
GetLoadedModules(),
GetLoadedModules(Boolean),
GetLoadedModules(Boolean),
GetModules(),
GetModules(),
GetModules(Boolean),
GetModules(Boolean),
GetModule(String),
GetModule(String),
GetFile(String),
GetFile(String),
GetFiles(),
GetFiles(),
GetFiles(Boolean),
GetFiles(Boolean),
GetManifestResourceNames(),
GetManifestResourceNames(),
GetReferencedAssemblies(),
GetReferencedAssemblies(),
GetManifestResourceInfo(String),
GetManifestResourceInfo(String),
ToString(),
ToString(),
CodeBase,
CodeBase,
EscapedCodeBase,
EscapedCodeBase,
FullName,
FullName,
EntryPoint,
EntryPoint,
ExportedTypes,
ExportedTypes,
Evidence,
Evidence,
PermissionSet,
PermissionSet,
IsFullyTrusted,
IsFullyTrusted,
SecurityRuleSet,
SecurityRuleSet,
ManifestModule,
ManifestModule,
CustomAttributes,
CustomAttributes,
ReflectionOnly,
ReflectionOnly,
Modules,
Modules,
Location,
Location,
ImageRuntimeVersion,
ImageRuntimeVersion,
GlobalAssemblyCache,
GlobalAssemblyCache,
HostContext,
HostContext,
IsDynamic,
IsDynamic,
ModuleResolve,
ModuleResolve,
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Properties summary

Methods summary

Constructors

  • MockAssembly(IEnumerable<TypeInfo>)
    MockAssembly(IEnumerable(Of TypeInfo))
    public MockAssembly(IEnumerable<TypeInfo> definedTypes)Public Sub New(definedTypes As IEnumerable(Of TypeInfo))

    Parameters

    • definedTypes
      System.Collections.Generic.IEnumerable<T><System.Reflection.TypeInfo>
      System.Collections.Generic.IEnumerable<T>(Of System.Reflection.TypeInfo)

Properties

  • DefinedTypes
    DefinedTypes
    public override IEnumerable<TypeInfo> DefinedTypes { get; }Public Overrides ReadOnly Property DefinedTypes As IEnumerable(Of TypeInfo)

    Property Value

    • System.Collections.Generic.IEnumerable<T><System.Reflection.TypeInfo>
      System.Collections.Generic.IEnumerable<T>(Of System.Reflection.TypeInfo)

Methods

  • Create(Type[])
    Create(Type())
    public static Assembly Create(params Type[] definedTypes)Public Shared Function Create(ParamArray definedTypes As Type()) As Assembly

    Parameters

    • definedTypes
      System.Type[]
      System.Type()

    Returns

    • System.Reflection.Assembly
      System.Reflection.Assembly
  • GetName()
    GetName()
    public override AssemblyName GetName()Public Overrides Function GetName As AssemblyName

    Returns

    • System.Reflection.AssemblyName
      System.Reflection.AssemblyName

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll