Beamable SDK
Public Member Functions | Static Public Member Functions | Static Public Attributes | Properties | List of all members
Beamable.Common.Content.Validation.ContentNameValidationException Class Reference
Inheritance diagram for Beamable.Common.Content.Validation.ContentNameValidationException:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Common.Content.Validation.ContentNameValidationException:
Collaboration graph
[legend]

Public Member Functions

 ContentNameValidationException (IContentObject content, char invalidChar, string invalidCharName, int position, string name)
 
- Public Member Functions inherited from Beamable.Common.Content.Validation.ContentException
 ContentException (IContentObject content, string message)
 

Static Public Member Functions

static bool HasNameValidationErrors (IContentObject content, string contentName, out List< ContentNameValidationException > errors)
 

Static Public Attributes

static Dictionary< char, string > INVALID_CHARACTERS
 
static char[] INVALID_CHARS = INVALID_CHARACTERS.Keys.ToArray()
 

Properties

char InvalidChar [get]
 
int InvalidCharPosition [get]
 
string Name [get]
 
string InvalidCharName [get]
 
- Properties inherited from Beamable.Common.Content.Validation.ContentException
IContentObject Content [get]
 

Additional Inherited Members

- Public Attributes inherited from Beamable.Common.Content.Validation.ContentException
virtual string FriendlyMessage => Message
 

Member Data Documentation

◆ INVALID_CHARACTERS

Dictionary<char, string> Beamable.Common.Content.Validation.ContentNameValidationException.INVALID_CHARACTERS
static
Initial value:
= new Dictionary<char, string>
{
{' ', "spaces"},
{'/', "forward slash"},
{'\\', "back slashes"},
{'|', "pipes"},
{':', "colons"},
{'*', "asterisks"},
{'?', "question marks"},
{'"', "double quotes"},
{'<', "less than symbols"},
{'>', "greater than symbols"},
}

The documentation for this class was generated from the following file: