C# Class NuGet.Services.Work.Jobs.Models.OwnerAssertion

ファイルを表示 Open project: NuGet/NuGet.Services.Work

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
OwnerAssertion ( ) : Newtonsoft.Json

Adding a parameterless default constructor for supporting Dapper and have internal constructor for writing simple unit tests Could have added a constructor with a signature matching the sql query, but this is less code

Private Methods

Method Description
OwnerAssertion ( string username, bool exists ) : Newtonsoft.Json

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

OwnerAssertion() public method

Adding a parameterless default constructor for supporting Dapper and have internal constructor for writing simple unit tests Could have added a constructor with a signature matching the sql query, but this is less code
public OwnerAssertion ( ) : Newtonsoft.Json
return Newtonsoft.Json