C# 클래스 SnooNotesAPI.DAL.DirtbagDAL

파일 보기 프로젝트 열기: CrustyJew/SnooNotes

공개 메소드들

메소드 설명
AddToBanList ( DirtbagSettings conn, List list ) : System.Threading.Tasks.Task
GetBanList ( DirtbagSettings conn, string subreddit ) : Task>
RemoveFromBanList ( DirtbagSettings conn, int id, string modName, string subreddit ) : Task
TestConnection ( DirtbagSettings botSettings, string subreddit ) : Task
TestConnection ( string dirtbagUrl, string dirtbagUsername, string dirtbagPassword, string subreddit ) : Task
UpdateBanReason ( DirtbagSettings conn, string subName, int id, string reason, string modname ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
ValidateCert ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

메소드 상세

AddToBanList() 공개 메소드

public AddToBanList ( DirtbagSettings conn, List list ) : System.Threading.Tasks.Task
conn SnooNotesAPI.Models.DirtbagSettings
list List
리턴 System.Threading.Tasks.Task

GetBanList() 공개 메소드

public GetBanList ( DirtbagSettings conn, string subreddit ) : Task>
conn SnooNotesAPI.Models.DirtbagSettings
subreddit string
리턴 Task>

RemoveFromBanList() 공개 메소드

public RemoveFromBanList ( DirtbagSettings conn, int id, string modName, string subreddit ) : Task
conn SnooNotesAPI.Models.DirtbagSettings
id int
modName string
subreddit string
리턴 Task

TestConnection() 공개 메소드

public TestConnection ( DirtbagSettings botSettings, string subreddit ) : Task
botSettings SnooNotesAPI.Models.DirtbagSettings
subreddit string
리턴 Task

TestConnection() 공개 메소드

public TestConnection ( string dirtbagUrl, string dirtbagUsername, string dirtbagPassword, string subreddit ) : Task
dirtbagUrl string
dirtbagUsername string
dirtbagPassword string
subreddit string
리턴 Task

UpdateBanReason() 공개 메소드

public UpdateBanReason ( DirtbagSettings conn, string subName, int id, string reason, string modname ) : System.Threading.Tasks.Task
conn SnooNotesAPI.Models.DirtbagSettings
subName string
id int
reason string
modname string
리턴 System.Threading.Tasks.Task