Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Interface for environment builder.
/// @license <![CDATA[Copyright © windegger.wtf 2016
///
/// Unauthorized copying of this file, via any medium is strictly
/// prohibited
///
/// Proprietary and confidential
///
/// Written by Rene Windegger <rene@windegger.wtf> on 23.02.2016]]>
/// @file Diagnostics\IEnvironmentBuilder.cs
/// Declares the IEnvironmentBuilder interface.
namespace wtf.windegger.SharedLibrary.Diagnostics
{
using System.Collections.Generic;
/// Interface for environment builder.
/// @author Rene Windegger
/// @date 23.02.2016
public interface IEnvironmentBuilder
{
/// Gets or sets a value indicating whether this object is running.
/// @return true if this object is running, false if not.
bool IsRunning { get; set; }
/// Gets or sets a value indicating whether this object is finished.
/// @return true if this object is finished, false if not.
bool IsFinished { get; set; }
/// Gets or sets the console.
/// @return The console.
string Console { get; set; }
/// Builds argument line.
/// @return A string.
string BuildArgumentLine();
/// Builds environment variables.
/// @return A Dictionary<string,string>
Dictionary<string, string> BuildEnvironmentVariables();
/// Gets the pathname of the working directory.
/// @return The pathname of the working directory.
string WorkingDirectory { get; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.