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

Afficher le fichier Open project: NuGet/NuGet.Services.Work

Méthodes publiques

Méthode 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

Méthode Description
OwnerAssertion ( string username, bool exists ) : Newtonsoft.Json

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

OwnerAssertion() public méthode

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
Résultat Newtonsoft.Json