Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Core.NamingHelper Class Reference

Helper to verify naming conventions. More...

Static Public Member Functions

static bool IsValidNamespace (string text)
 Determines whether the specified string is valid namespace identifier. More...
 
static bool IsValidNamespace (string text, out string error)
 Determines whether the specified string is valid namespace identifier. More...
 
static bool IsIdentifier (string text)
 Determines whether the specified text is a C# identifier. More...
 

Detailed Description

Helper to verify naming conventions.

Definition at line 13 of file NamingHelper.cs.

Member Function Documentation

static bool SiliconStudio.Core.NamingHelper.IsIdentifier ( string  text)
static

Determines whether the specified text is a C# identifier.

Parameters
textThe text.
Returns
true if the specified text is an identifier; otherwise, false.
Exceptions
System.ArgumentNullExceptiontext

Definition at line 56 of file NamingHelper.cs.

static bool SiliconStudio.Core.NamingHelper.IsValidNamespace ( string  text)
static

Determines whether the specified string is valid namespace identifier.

Parameters
textThe namespace text.
Returns
true if is a valid namespace identifier; otherwise, false.

Definition at line 22 of file NamingHelper.cs.

static bool SiliconStudio.Core.NamingHelper.IsValidNamespace ( string  text,
out string  error 
)
static

Determines whether the specified string is valid namespace identifier.

Parameters
textThe namespace text.
errorThe error if return is false.
Returns
true if is a valid namespace identifier; otherwise, false.

Definition at line 34 of file NamingHelper.cs.

References s().


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