-
-
Save adeelnasir/bf6e675280dbbf7cab541b0909b2493b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Represents a redirection lookup. | |
/// </summary> | |
public class Redirect | |
{ | |
/// <summary> | |
/// Default Constructor. | |
/// </summary> | |
public Redirect() | |
{ | |
} | |
/// <summary> | |
/// Constructor with Params. | |
/// </summary> | |
/// <param name="startIp">Start IP of the range</param> | |
/// <param name="endIp">End IP of the range</param> | |
/// <param name="redirectName">To be redirected to</param> | |
public Redirect(string startIp, string endIp, string redirectName) | |
: this() | |
{ | |
this.StartIp = startIp; | |
this.EndIp = endIp; | |
this.RedirectName = redirectName; | |
} | |
/// <summary> | |
/// PK. | |
/// </summary> | |
public Guid RegistrationId | |
{ | |
get; set; | |
} | |
/// <summary> | |
/// Starting IP of the range. | |
/// </summary> | |
public string StartIp | |
{ | |
get; set; | |
} | |
/// <summary> | |
/// Ending IP of the range. | |
/// </summary> | |
public string EndIp | |
{ | |
get; set; | |
} | |
/// <summary> | |
/// Redirect Name for Authentication. | |
/// </summary> | |
public string RedirectName | |
{ | |
get; set; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment