コード例 #1
0
ファイル: UserQueriesTests.cs プロジェクト: kurono1984/vocadb
 private UserContract CallCreate(string name    = "hatsune_miku", string pass       = "******", string email = "", string hostname = defaultHostname,
                                 string culture = defaultCulture, TimeSpan?timeSpan = null)
 {
     return(data.Create(name, pass, email, hostname,
                        culture,
                        timeSpan ?? TimeSpan.FromMinutes(39), softBannedIPs, string.Empty));
 }
コード例 #2
0
 private Task <UserContract> CallCreate(string name    = "hatsune_miku", string pass       = "******", string email = "", string hostname = defaultHostname,
                                        string culture = defaultCulture, TimeSpan?timeSpan = null)
 {
     return(data.Create(name, pass, email, hostname, null,
                        culture,
                        timeSpan ?? TimeSpan.FromMinutes(39), ipRuleManager, string.Empty));
 }