Skip to content

Instantly share code, notes, and snippets.

@rwindegger
Created September 30, 2016 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rwindegger/cb216df08874c3a767e06581ebb3aa15 to your computer and use it in GitHub Desktop.
Save rwindegger/cb216df08874c3a767e06581ebb3aa15 to your computer and use it in GitHub Desktop.
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