blob: 04e5ac300daf51d14fefca7516bf9c4ed4c39822 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Web;
public static class DeploymentSlotExtensions
{
/// <summary>
/// Gets the deployment slot web address.
/// </summary>
/// <param name="slot">The slot.</param>
/// <returns></returns>
public static String ToAddress(this DeploymentSlot slot)
{
return slot.GetAttribute<DeploymentSlotAddressAttribute>().Address;
}
}
|