AssemblyLoader Class

Summary

Responsible for loading assemblies.
Namespace
Cake.Core.Reflection
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IAssemblyLoader"] click Interface0 "/api/Cake.Core.Reflection/IAssemblyLoader" Type["AssemblyLoader"] class Type type-node

Syntax

public sealed class AssemblyLoader : IAssemblyLoader

Constructors

Name Summary
AssemblyLoader(ICakeEnvironment, IFileSystem, IAssemblyVerifier) Initializes a new instance of the AssemblyLoader class.

Methods

Name Value Summary
Load(AssemblyName) Assembly
Loads an assembly from its assembly name.
Load(FilePath, bool) Assembly
Loads an assembly from the specified path.

Extension Methods

Name Value Summary
Dump<AssemblyLoader>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AssemblyLoader>(AssemblyLoader[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AssemblyLoader>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<AssemblyLoader>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<AssemblyLoader>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AssemblyLoader>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin