C# Класс NuGet.Services.Work.Jobs.Models.OwnerAssertion

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
OwnerAssertion ( string username, bool exists ) : Newtonsoft.Json

Описание методов

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

OwnerAssertion() публичный Метод

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
Результат Newtonsoft.Json