public FirebaseMessage(WriteBehavior behavior, FirebasePath path, string value, FirebasePriority priority, FirebaseStatusCallback callback, MessageSouce source) { Behavior = behavior; Path = path; Value = value; Callback = callback; Priority = priority; Source = source; }
public FirebaseMessage(WriteBehavior behavior, FirebasePath path, string value, FirebasePriority priority, FirebaseStatusCallback callback, MessageSouce source) { Behavior = behavior; Path = path; Value = value; Callback = callback; Priority = priority; Source = source; }
public int Compare(JObject x, JObject y) { if (ReferenceEquals(x, y)) { return(0); } var xp = new FirebasePriority((JValue)x[".priority"]); var yp = new FirebasePriority((JValue)y[".priority"]); int result = xp.CompareTo(yp); if (result == 0) { result = _keySort.Value.Compare(x.Path, y.Path); } return(result); }