コード例 #1
0
ファイル: Ecards.cs プロジェクト: haimon74/Easy-Fixup
 public static Ecard[] FetchSentInLast24Hours(string username, EcardType.eType type)
 {
     return FetchSent(username)
         .Where(x => x.Date > DateTime.Now.AddHours(-24) && 
                     EcardType.Fetch(x.EcardTypeID).Type == type)
         .ToArray();
 }
コード例 #2
0
ファイル: Ecards.cs プロジェクト: haimon74/Easy-Fixup
 public static Ecard[] FetchSent(string username, EcardType.eType type)
 {
     return FetchSent(username)
     .Where(x => EcardType.Fetch(x.EcardTypeID).Type == type).ToArray();
 }
コード例 #3
0
ファイル: Ecards.cs プロジェクト: haimon74/Easy-Fixup
 public static Ecard[] FetchUnread(string username, EcardType.eType type)
 {
     return FetchReceived(username, type).Where(x=> x.IsOpened==false).ToArray();
 }