示例#1
0
 public static Uri  site_Uri(this API_Firebase firebase, string area)
 {
     return("https://{0}.firebaseio.com/{1}/{2}.json?auth={3}".format(
                firebase.firebase_Site(),
                firebase.firebase_RootArea(),
                area,
                firebase.firebase_AuthToken()).uri());
 }
示例#2
0
 public static bool site_Configured(this API_Firebase firebase)
 {
     return(firebase.notNull() &&
            firebase.firebase_Site().valid() &&
            firebase.firebase_AuthToken().valid());
 }