Class DnsRequest
A DNS request.
Inheritance
System.Object
DnsRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class DnsRequest
Constructors
DnsRequest(String, Action2<String[], Object>, Object)
Initializes a new instance of the DnsRequest class.
Declaration
public DnsRequest(string name, Action2<string[], object> callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
Action2<System.String[], System.Object> | callback | The callback. |
System.Object | state | The state. |
Properties
Callback
Gets or sets the callback.
Declaration
public Action2<string[], object> Callback { get; }
Property Value
Type | Description |
---|---|
Action2<System.String[], System.Object> |
Name
Gets or sets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
State
Gets or sets the state.
Declaration
public object State { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
Resolve()
Declaration
public void Resolve()