//
// InjectionResult.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace NosSmooth.Injector;
///
/// A result obtained from NosSmooth.Inject.
///
public enum InjectionResult
{
///
/// Successful result.
///
Ok = 1,
///
/// Hostfxr.dll was not found, is .NET installed? It should be as this is a .NET application injecting the dll...
///
HostfxrNotFound = 2,
///
/// A runtimeconfig.json of the assembly to be injected was not found.
///
///
/// Be sure to include true
/// in a library that will be injected.
///
RuntimeConfigNotFound = 3,
///
/// The specified class or type was not found.
///
///
/// Be sure to put it in this format: "namespace.type.method, assembly",
/// see samples.
///
ClassOrMethodNotFound = 4
}