public static GenerateResourceName ( ITestSite site, string resourceName ) : string | ||
site | ITestSite | An instance of interface ITestSite which provides logging, assertions, /// and adapters for test code onto its execution context. |
resourceName | string | A parameter that represents the resource name which is used to combine the unique name |
return | string |
public static string GenerateResourceName(ITestSite site, string resourceName)
{
string newPrefixOfResourceName = GeneratePrefixOfResourceName(site);
return string.Format(@"{0}_{1}_{2}", newPrefixOfResourceName, resourceName, FormatCurrentDateTime());
}
Common::GenerateResourceName ( ITestSite site, string resourceName, uint index ) : string |