CSMongo.Responses.QueryResponse.GetDefaultResponse C# (CSharp) Method

GetDefaultResponse() public method

Finds a response or returns an empty object
public GetDefaultResponse ( ) : BsonObject
return BsonObject
        public BsonObject GetDefaultResponse()
        {
            return this.HasDocuments ? this.Documents.First() : new MongoDocument();
        }