C# Class FlatRedBall.Glue.SaveClasses.NameVerifier

Mostra file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
InvalidCharacters char[]

Public Methods

Method Description
DoesTunneledVariableAlreadyExist ( string sourceObject, string sourceObjectProperty, IElement element ) : bool
IsDirectoryNameValid ( string directory, string &whyItIsntValid ) : bool
IsEntityNameValid ( string name, EntitySave entitySave, string &whyItIsntValid ) : bool
IsNamedObjectNameValid ( string name, NamedObjectSave namedObject, string &whyItIsntValid ) : bool
IsNamedObjectNameValid ( string name, string &whyItIsntValid ) : bool
IsReferencedFileNameValid ( string name, AssetTypeInfo ati, ReferencedFileSave rfs, IElement container, string &whyItIsntValid ) : bool
IsScreenNameValid ( string name, ScreenSave screenSave, string &whyItIsntValid ) : bool
IsStateCategoryNameValid ( string name, string &whyItIsntValid ) : bool
IsStateNameValid ( string name, IElement element, StateSaveCategory category, StateSave currentStateSave, string &whyItIsntValid ) : bool

Private Methods

Method Description
CheckForCommonImproperNames ( string name, string &whyItIsntValid ) : void
CheckForExistingEntity ( string name, string &whyItIsntValid ) : void
CheckForRfsWithMatchingFileName ( IElement container, string name, ReferencedFileSave rfsToSkip, string &whyItIsntValid ) : void
IsCustomClassNameValid ( string name, string &whyItIsntValid ) : bool
IsCustomVariableNameValid ( string variableName, CustomVariable customVariable, IElement containingElement, string &whyItIsntValid ) : bool
IsPositionedObjectMember ( string name ) : bool
RemoveNosFromElementIfNecessary ( NamedObjectSave namedObject, int &wasRemovedFromIndex, IElement &element, NamedObjectSave &containingNos ) : void

Method Details

DoesTunneledVariableAlreadyExist() public static method

public static DoesTunneledVariableAlreadyExist ( string sourceObject, string sourceObjectProperty, IElement element ) : bool
sourceObject string
sourceObjectProperty string
element IElement
return bool

IsDirectoryNameValid() public static method

public static IsDirectoryNameValid ( string directory, string &whyItIsntValid ) : bool
directory string
whyItIsntValid string
return bool

IsEntityNameValid() public static method

public static IsEntityNameValid ( string name, EntitySave entitySave, string &whyItIsntValid ) : bool
name string
entitySave EntitySave
whyItIsntValid string
return bool

IsNamedObjectNameValid() public static method

public static IsNamedObjectNameValid ( string name, NamedObjectSave namedObject, string &whyItIsntValid ) : bool
name string
namedObject NamedObjectSave
whyItIsntValid string
return bool

IsNamedObjectNameValid() public static method

public static IsNamedObjectNameValid ( string name, string &whyItIsntValid ) : bool
name string
whyItIsntValid string
return bool

IsReferencedFileNameValid() public static method

public static IsReferencedFileNameValid ( string name, AssetTypeInfo ati, ReferencedFileSave rfs, IElement container, string &whyItIsntValid ) : bool
name string
ati AssetTypeInfo
rfs ReferencedFileSave
container IElement
whyItIsntValid string
return bool

IsScreenNameValid() public static method

public static IsScreenNameValid ( string name, ScreenSave screenSave, string &whyItIsntValid ) : bool
name string
screenSave ScreenSave
whyItIsntValid string
return bool

IsStateCategoryNameValid() public static method

public static IsStateCategoryNameValid ( string name, string &whyItIsntValid ) : bool
name string
whyItIsntValid string
return bool

IsStateNameValid() public static method

public static IsStateNameValid ( string name, IElement element, StateSaveCategory category, StateSave currentStateSave, string &whyItIsntValid ) : bool
name string
element IElement
category StateSaveCategory
currentStateSave StateSave
whyItIsntValid string
return bool

Property Details

InvalidCharacters public_oe static_oe property

public static char[] InvalidCharacters
return char[]