本文整理汇总了C#中AutomationTool.ProjectParams.GetBasedOnReleaseVersionPath方法的典型用法代码示例。如果您正苦于以下问题:C# ProjectParams.GetBasedOnReleaseVersionPath方法的具体用法?C# ProjectParams.GetBasedOnReleaseVersionPath怎么用?C# ProjectParams.GetBasedOnReleaseVersionPath使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AutomationTool.ProjectParams
的用法示例。
在下文中一共展示了ProjectParams.GetBasedOnReleaseVersionPath方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetReleasePakFilePath
private static string GetReleasePakFilePath(DeploymentContext SC, ProjectParams Params, string PakName)
{
string ReleaseVersionPath = CombinePaths(Params.GetBasedOnReleaseVersionPath(SC), PakName);
return ReleaseVersionPath;
}
示例2: GetReleasePakFilePath
/// <summary>
/// Get a release pak file path, if we are currently building a patch then get the previous release pak file path, if we are creating a new release this will be the output path
/// </summary>
/// <param name="SC"></param>
/// <param name="Params"></param>
/// <param name="PakName"></param>
/// <returns></returns>
public virtual string GetReleasePakFilePath(DeploymentContext SC, ProjectParams Params, string PakName)
{
if (Params.IsGeneratingPatch)
{
return CombinePaths(Params.GetBasedOnReleaseVersionPath(SC, Params.Client), PakName);
}
else
{
return CombinePaths(Params.GetCreateReleaseVersionPath(SC, Params.Client), PakName);
}
}