C# Class NuCmd.Models.AuditActor

Mostrar archivo Open project: NuGet/NuGet.Operations Class Usage Examples

Public Methods

Method Description
AuditActor ( string machineName, string machineIP, string userName, string authenticationType, System.DateTime timeStampUtc ) : System
AuditActor ( string machineName, string machineIP, string userName, string authenticationType, System.DateTime timeStampUtc, AuditActor onBehalfOf ) : System
GetCurrentMachineActor ( ) : Task
GetCurrentMachineActor ( AuditActor onBehalfOf ) : Task
GetLocalIP ( ) : Task

Private Methods

Method Description
TryGetAddress ( IEnumerable addrs, AddressFamily family ) : string

Method Details

AuditActor() public method

public AuditActor ( string machineName, string machineIP, string userName, string authenticationType, System.DateTime timeStampUtc ) : System
machineName string
machineIP string
userName string
authenticationType string
timeStampUtc System.DateTime
return System

AuditActor() public method

public AuditActor ( string machineName, string machineIP, string userName, string authenticationType, System.DateTime timeStampUtc, AuditActor onBehalfOf ) : System
machineName string
machineIP string
userName string
authenticationType string
timeStampUtc System.DateTime
onBehalfOf AuditActor
return System

GetCurrentMachineActor() public static method

public static GetCurrentMachineActor ( ) : Task
return Task

GetCurrentMachineActor() public static method

public static GetCurrentMachineActor ( AuditActor onBehalfOf ) : Task
onBehalfOf AuditActor
return Task

GetLocalIP() public static method

public static GetLocalIP ( ) : Task
return Task