Exemplo n.º 1
0
 /// <summary>
 /// Creates a new instance of the <see cref="RuntimeOptions"/> class.
 /// </summary>
 /// <param name="tfm">The target framework moniker.</param>
 /// <param name="runtimeName">The name of the runtime.</param>
 /// <param name="runtimeVersion">The version of the runtime.</param>
 public RuntimeOptions(string tfm, string runtimeName, string runtimeVersion)
 {
     TargetFrameworkMoniker = tfm;
     Framework = new RuntimeFramework(runtimeName, runtimeVersion);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the <see cref="RuntimeOptions"/> class.
 /// </summary>
 /// <param name="tfm">The target framework moniker.</param>
 /// <param name="framework">The framework implementation description.</param>
 public RuntimeOptions(string tfm, RuntimeFramework framework)
 {
     TargetFrameworkMoniker = tfm;
     Framework = framework;
 }