Table of Contents

Interface IElementNameValidator

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents an element name validator. Used by BsonWriters when WriteName is called to determine if the element name is valid.

public interface IElementNameValidator
Extension Methods

Methods

GetValidatorForChildContent(string)

Gets the validator to use for child content (a nested document or array).

IsValidElementName(string)

Determines whether the element name is valid.