MongoDB.Bson.Serialization.IdGenerators.CombGuidGenerator.IsEmpty C# (CSharp) Méthode

IsEmpty() public méthode

Tests whether an Id is empty.
public IsEmpty ( object id ) : bool
id object The Id.
Résultat bool
        public bool IsEmpty(object id)
        {
            return id == null || (Guid)id == Guid.Empty;
        }
    }