Exemple #1
0
        bool IAppRepo.AddApp(string sessionId, IFacebookApp app)
        {
            if (_db.ContainsKey(sessionId))
            {
                return(false);
            }

            _db.Add(sessionId, app);
            return(true);
        }
Exemple #2
0
 private FacebookAppDTail(IFacebookApp target)
 {
     _ = target;
 }
Exemple #3
0
 public static IFacebookApp New(IFacebookApp target)
 {
     return(new FacebookAppDTail(target));
 }
Exemple #4
0
 bool IAppRepo.AddApp(string sessionId, IFacebookApp app)
 {
     lock (_mutex) return(_.AddApp(sessionId, app));
 }