/// <summary> /// Creates a new <see cref="IntermediateCliRuntimeEnvironmentInfo"/> /// instance with the <paramref name="resolveCurrent"/>, <paramref name="platform"/>, /// <paramref name="version"/>, <paramref name="useCoreLibrary"/>, and /// <paramref name="useGlobalAccessCache"/> provided. /// </summary> /// <param name="resolveCurrent"> /// A <see cref="Boolean"/> value denoting whether to resolve identities /// within the <see cref="ApplicationDirectory"/>.</param> /// <param name="platform">A <see cref="CliFrameworkPlatform"/> value /// denoting the base platform to use.</param> /// <param name="version">A <see cref="CliFrameworkVersion"/> denoting the /// target framework.</param> /// <param name="useCoreLibrary">A <see cref="Boolean"/> value denoting /// whether to use the core library identifier to resolve standard identities. /// </param> /// <param name="useGlobalAccessCache">A <see cref="Boolean"/> /// value denoting whether to use the global access cache.</param> public IntermediateCliRuntimeEnvironmentInfo( bool resolveCurrent, CliFrameworkPlatform platform, CliFrameworkVersion version, bool useCoreLibrary, bool useGlobalAccessCache) : base(resolveCurrent, platform, version, useCoreLibrary, useGlobalAccessCache) { }
/// <summary> /// Creates a new <see cref="IntermediateCliRuntimeEnvironmentInfo"/> /// instance with the <paramref name="resolveCurrent"/>, <paramref name="platform"/>, /// <paramref name="version"/>, <paramref name="additionalResolutionPaths"/>, /// <paramref name="useCoreLibrary"/>, and <paramref name="useGlobalAccessCache"/> /// provided. /// </summary> /// <param name="resolveCurrent"> /// A <see cref="Boolean"/> value denoting whether to resolve identities /// within the <see cref="ApplicationDirectory"/>.</param> /// <param name="platform">A <see cref="CliFrameworkPlatform"/> value /// denoting the base platform to use.</param> /// <param name="version">A <see cref="CliFrameworkVersion"/> denoting the /// target framework.</param> /// <param name="additionalResolutionPaths">A series of <see cref="String"/> /// values denoting the additional paths to perform identity resolution.</param> /// <param name="useCoreLibrary">A <see cref="Boolean"/> value denoting /// whether to use the core library identifier to resolve standard identities. /// </param> /// <param name="useGlobalAccessCache">A <see cref="Boolean"/> /// value denoting whether to use the global access cache.</param> internal IntermediateCliRuntimeEnvironmentInfo(bool resolveCurrent, CliFrameworkPlatform platform, CliFrameworkVersion version, string[] additionalResolutionPaths, bool useCoreLibrary, bool useGlobalAccessCache) : base(resolveCurrent, platform, version, additionalResolutionPaths, useCoreLibrary, useGlobalAccessCache) { }
public static ICliRuntimeEnvironmentInfo GetRuntimeEnvironmentInfo(CliFrameworkPlatform platform, CliFrameworkVersion version, bool resolveCurrent, bool useCoreLibrary, bool useGlobalAccessCache, params string[] additionalResolutionPaths) { return(new CliRuntimeEnvironmentInfo(resolveCurrent, platform, version, additionalResolutionPaths, useCoreLibrary, useGlobalAccessCache)); }
public static ICliRuntimeEnvironmentInfo GetRuntimeEnvironmentInfo(CliFrameworkPlatform platform, CliFrameworkVersion version = CurrentVersion, bool resolveCurrent = true, bool useCoreLibrary = true, bool useGlobalAccessCache = true) { return(new CliRuntimeEnvironmentInfo(resolveCurrent, platform, version, useCoreLibrary, useGlobalAccessCache)); }
public static ICliManager CreateIdentityManager(CliFrameworkPlatform platform, CliFrameworkVersion version, bool resolveCurrent, bool useCoreLibrary, bool useGlobalAccessCache, params string[] additionalResolutionPaths) { return(CreateIdentityManager(GetRuntimeEnvironmentInfo(platform, version, resolveCurrent, useCoreLibrary, useGlobalAccessCache, additionalResolutionPaths))); }
public static ICliManager CreateIdentityManager(CliFrameworkPlatform platform, CliFrameworkVersion version = CliGateway.CurrentVersion, bool resolveCurrent = true, bool useCoreLibrary = true, bool useGlobalAccessCache = true) { return(CreateIdentityManager(GetRuntimeEnvironmentInfo(platform, version, resolveCurrent, useCoreLibrary, useGlobalAccessCache))); }
public IToySharpProvider GetProvider(ToySharpLanguageVersion version, CliFrameworkPlatform platform, CliFrameworkVersion frameworkVersion) { return(this.GetProvider(version, IntermediateCliGateway.CreateIdentityManager(platform, frameworkVersion))); }