Class ModuleAssembly

Represents module assembly

Inheritance
System.Object
ModuleAssembly
Implements
System.IEquatable<ModuleAssembly>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Shell.Modules
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public class ModuleAssembly : IEquatable<ModuleAssembly>

Constructors

ModuleAssembly(VirtualFile, FrameworkName)

Initializes a new instance of the ModuleAssembly class.

Declaration
public ModuleAssembly(VirtualFile assemblyFile, FrameworkName targetFramework)
Parameters
Type Name Description
System.Web.Hosting.VirtualFile assemblyFile

The assembly virtual file.

System.Runtime.Versioning.FrameworkName targetFramework

The target framework.

Properties

AssemblyFile

Gets the assembly file.

Declaration
public VirtualFile AssemblyFile { get; }
Property Value
Type Description
System.Web.Hosting.VirtualFile

SupportedFrameworks

Gets the collection of supported frameworks.

Declaration
public IEnumerable<FrameworkName> SupportedFrameworks { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Runtime.Versioning.FrameworkName>

TargetFramework

Gets the target framework.

Declaration
public FrameworkName TargetFramework { get; }
Property Value
Type Description
System.Runtime.Versioning.FrameworkName

Methods

Equals(ModuleAssembly)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(ModuleAssembly other)
Parameters
Type Name Description
ModuleAssembly other

An object to compare with this object.

Returns
Type Description
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides
System.Object.GetHashCode()

Implements

System.IEquatable<T>