MockAssembly MockAssembly Class

Definition

public class MockAssembly : Assembly, _Assembly, IEvidenceFactory, ICustomAttributeProvider, ISerializable
Public Class MockAssembly
    Inherits Assembly
    Implements _Assembly, IEvidenceFactory, ICustomAttributeProvider, ISerializable
Inheritance
System.ObjectSystem.Object
System.Reflection.AssemblySystem.Reflection.Assembly
MockAssemblyMockAssembly
Implements
System.Runtime.InteropServices._AssemblySystem.Runtime.InteropServices._Assembly System.Security.IEvidenceFactorySystem.Security.IEvidenceFactory System.Reflection.ICustomAttributeProviderSystem.Reflection.ICustomAttributeProvider System.Runtime.Serialization.ISerializableSystem.Runtime.Serialization.ISerializable

Constructors

MockAssembly(IEnumerable) MockAssembly(IEnumerable(Of TypeInfo))

public MockAssembly(IEnumerable<TypeInfo> definedTypes)
Public Sub New(definedTypes As IEnumerable(Of TypeInfo))
Parameters
definedTypes
System.Collections.Generic.IEnumerable<System.Reflection.TypeInfo> System.Collections.Generic.IEnumerable(Of System.Reflection.TypeInfo)

Properties

DefinedTypes DefinedTypes

public override IEnumerable<TypeInfo> DefinedTypes { get; }
Public Overrides ReadOnly Property DefinedTypes As IEnumerable(Of TypeInfo)
Value
System.Collections.Generic.IEnumerable<System.Reflection.TypeInfo> System.Collections.Generic.IEnumerable(Of System.Reflection.TypeInfo)
Overrides
System.Reflection.Assembly.DefinedTypesSystem.Reflection.Assembly.DefinedTypes

Methods

CodeBase CodeBase

Inherited from System.Reflection.Assembly

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

CreateInstance(String) CreateInstance(String)

Inherited from System.Reflection.Assembly

CreateInstance(String, Boolean) CreateInstance(String, Boolean)

Inherited from System.Reflection.Assembly

CreateInstance(String, Boolean, BindingFlags, Binder, Object[], CultureInfo, Object[]) CreateInstance(String, Boolean, BindingFlags, Binder, Object(), CultureInfo, Object())

Inherited from System.Reflection.Assembly

CreateQualifiedName(String, String) CreateQualifiedName(String, String)

Inherited from System.Reflection.Assembly

CustomAttributes CustomAttributes

Inherited from System.Reflection.Assembly

EntryPoint EntryPoint

Inherited from System.Reflection.Assembly

Equals(Object) Equals(Object)

Inherited from System.Reflection.Assembly

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

EscapedCodeBase EscapedCodeBase

Inherited from System.Reflection.Assembly

Evidence Evidence

Inherited from System.Reflection.Assembly

ExportedTypes ExportedTypes

Inherited from System.Reflection.Assembly

FullName FullName

Inherited from System.Reflection.Assembly

GetAssembly(Type) GetAssembly(Type)

Inherited from System.Reflection.Assembly

GetCallingAssembly() GetCallingAssembly()

Inherited from System.Reflection.Assembly

GetCustomAttributes(Boolean) GetCustomAttributes(Boolean)

Inherited from System.Reflection.Assembly

GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean)

Inherited from System.Reflection.Assembly

GetCustomAttributesData() GetCustomAttributesData()

Inherited from System.Reflection.Assembly

GetEntryAssembly() GetEntryAssembly()

Inherited from System.Reflection.Assembly

GetExecutingAssembly() GetExecutingAssembly()

Inherited from System.Reflection.Assembly

GetExportedTypes() GetExportedTypes()

Inherited from System.Reflection.Assembly

GetFile(String) GetFile(String)

Inherited from System.Reflection.Assembly

GetFiles() GetFiles()

Inherited from System.Reflection.Assembly

GetFiles(Boolean) GetFiles(Boolean)

Inherited from System.Reflection.Assembly

GetHashCode() GetHashCode()

Inherited from System.Reflection.Assembly

GetLoadedModules() GetLoadedModules()

Inherited from System.Reflection.Assembly

GetLoadedModules(Boolean) GetLoadedModules(Boolean)

Inherited from System.Reflection.Assembly

GetManifestResourceInfo(String) GetManifestResourceInfo(String)

Inherited from System.Reflection.Assembly

GetManifestResourceNames() GetManifestResourceNames()

Inherited from System.Reflection.Assembly

GetManifestResourceStream(String) GetManifestResourceStream(String)

Inherited from System.Reflection.Assembly

GetManifestResourceStream(Type, String) GetManifestResourceStream(Type, String)

Inherited from System.Reflection.Assembly

GetModule(String) GetModule(String)

Inherited from System.Reflection.Assembly

GetModules() GetModules()

Inherited from System.Reflection.Assembly

GetModules(Boolean) GetModules(Boolean)

Inherited from System.Reflection.Assembly

GetName() GetName()

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

GetName(Boolean) GetName(Boolean)

Inherited from System.Reflection.Assembly

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Inherited from System.Reflection.Assembly

GetReferencedAssemblies() GetReferencedAssemblies()

Inherited from System.Reflection.Assembly

GetSatelliteAssembly(CultureInfo) GetSatelliteAssembly(CultureInfo)

Inherited from System.Reflection.Assembly

GetSatelliteAssembly(CultureInfo, Version) GetSatelliteAssembly(CultureInfo, Version)

Inherited from System.Reflection.Assembly

GetType() GetType()

Inherited from System.Object

GetType(String) GetType(String)

Inherited from System.Reflection.Assembly

GetType(String, Boolean) GetType(String, Boolean)

Inherited from System.Reflection.Assembly

GetType(String, Boolean, Boolean) GetType(String, Boolean, Boolean)

Inherited from System.Reflection.Assembly

GetTypes() GetTypes()

Inherited from System.Reflection.Assembly

GlobalAssemblyCache GlobalAssemblyCache

Inherited from System.Reflection.Assembly

HostContext HostContext

Inherited from System.Reflection.Assembly

ImageRuntimeVersion ImageRuntimeVersion

Inherited from System.Reflection.Assembly

IsDefined(Type, Boolean) IsDefined(Type, Boolean)

Inherited from System.Reflection.Assembly

IsDynamic IsDynamic

Inherited from System.Reflection.Assembly

IsFullyTrusted IsFullyTrusted

Inherited from System.Reflection.Assembly

Load(AssemblyName) Load(AssemblyName)

Inherited from System.Reflection.Assembly

Load(AssemblyName, Evidence) Load(AssemblyName, Evidence)

Inherited from System.Reflection.Assembly

Load(Byte[]) Load(Byte())

Inherited from System.Reflection.Assembly

Load(Byte[], Byte[]) Load(Byte(), Byte())

Inherited from System.Reflection.Assembly

Load(Byte[], Byte[], Evidence) Load(Byte(), Byte(), Evidence)

Inherited from System.Reflection.Assembly

Load(Byte[], Byte[], SecurityContextSource) Load(Byte(), Byte(), SecurityContextSource)

Inherited from System.Reflection.Assembly

Load(String) Load(String)

Inherited from System.Reflection.Assembly

Load(String, Evidence) Load(String, Evidence)

Inherited from System.Reflection.Assembly

LoadFile(String) LoadFile(String)

Inherited from System.Reflection.Assembly

LoadFile(String, Evidence) LoadFile(String, Evidence)

Inherited from System.Reflection.Assembly

LoadFrom(String) LoadFrom(String)

Inherited from System.Reflection.Assembly

LoadFrom(String, Byte[], AssemblyHashAlgorithm) LoadFrom(String, Byte(), AssemblyHashAlgorithm)

Inherited from System.Reflection.Assembly

LoadFrom(String, Evidence) LoadFrom(String, Evidence)

Inherited from System.Reflection.Assembly

LoadFrom(String, Evidence, Byte[], AssemblyHashAlgorithm) LoadFrom(String, Evidence, Byte(), AssemblyHashAlgorithm)

Inherited from System.Reflection.Assembly

LoadModule(String, Byte[]) LoadModule(String, Byte())

Inherited from System.Reflection.Assembly

LoadModule(String, Byte[], Byte[]) LoadModule(String, Byte(), Byte())

Inherited from System.Reflection.Assembly

LoadWithPartialName(String) LoadWithPartialName(String)

Inherited from System.Reflection.Assembly

LoadWithPartialName(String, Evidence) LoadWithPartialName(String, Evidence)

Inherited from System.Reflection.Assembly

Location Location

Inherited from System.Reflection.Assembly

ManifestModule ManifestModule

Inherited from System.Reflection.Assembly

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ModuleResolve ModuleResolve

Inherited from System.Reflection.Assembly

Modules Modules

Inherited from System.Reflection.Assembly

PermissionSet PermissionSet

Inherited from System.Reflection.Assembly

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ReflectionOnly ReflectionOnly

Inherited from System.Reflection.Assembly

ReflectionOnlyLoad(Byte[]) ReflectionOnlyLoad(Byte())

Inherited from System.Reflection.Assembly

ReflectionOnlyLoad(String) ReflectionOnlyLoad(String)

Inherited from System.Reflection.Assembly

ReflectionOnlyLoadFrom(String) ReflectionOnlyLoadFrom(String)

Inherited from System.Reflection.Assembly

SecurityRuleSet SecurityRuleSet

Inherited from System.Reflection.Assembly

ToString() ToString()

Inherited from System.Reflection.Assembly

UnsafeLoadFrom(String) UnsafeLoadFrom(String)

Inherited from System.Reflection.Assembly

_Assembly.GetType() System.Runtime.InteropServices._Assembly.GetType()

Inherited from System.Reflection.Assembly