public async Task <Exception> Disconnect(ICloudDatabaseReference reference)
        {
            if (reference.IsNull())
            {
                return(new ArgumentNullException(nameof(reference)));
            }

            await new WaitForEndOfFrame();
            reference.Dispose();
            return(null);
        }
Esempio n. 2
0
        public static bool IsNullOrEmpty(this ICloudDatabaseReference obj)
        {
            if (obj.IsNull())
            {
                return(true);
            }

            if (obj.data.IsNullOrEmpty())
            {
                return(true);
            }

            return(false);
        }