Skip to main content
Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the name.

Inheritance

object ← INamedImpl

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

INamedImpl()

Properties

NameSeperator

Gets or sets the name seperator.

Property Value

char

PredefinedFlag

Gets or sets the predefined flag.

Property Value

char

Methods

EnsureLocalName(string)

Ensure local name.

Parameters

strName string The name.

GetChildName(string)

Get child name.

Parameters

strName string The name.

Returns

string The child name

GetFullName(IObject)

Get full name.

Parameters

obj IObject The object.

Returns

string The name

GetFullName(INamed)

Get full name.

Parameters

namedObj INamed The object has name.

Returns

string The name

GetImportedCADBodyDirectory(string, string)

Get imported cad body directory path.

Parameters

strDir string The directory. strBodyName string The body name

Returns

string

GetImportedCADBodyFilePath(string, string, string)

Get imported cad body file path.

Parameters

strDir string The directory. strBodyName string The body name strExtension string The extension name

Returns

string

GetImportedCADBodyName(Document, string, bool)

Get imported cad body name.

Parameters

doc Document The document. strName string Object Name bAllowDuplication bool

Returns

string The new name

GetNonSymmetricName(string)

Get non symmetric name.

Parameters

strName string The name.

Returns

string The name

GetOwnerFullName(string)

Get owner name from fullname.

Parameters

strFullName string The full name.

Returns

string The owner’s full name

GetOwnerName(string)

Get owner name.

Parameters

strName string The name.

Returns

string The owner name

GetSymmetricTypeFromName(string)

Get symmetric type from name.

Parameters

strName string The name.

Returns

SymmetricType The symmetric type

IsChildName(string)

whether this name is child name.

Parameters

strName string The object has name.

Returns

bool The name

IsExistNameInDoc(IDocument, string, string)

whether this name is exist to document.

Parameters

doc IDocument The document. strName string The name. strNameForMessage string The name for message.

Returns

bool The name

IsExistNameInDoc(IDocument, string)

whether this name is exist to document.

Parameters

doc IDocument The document. strName string The name.

Returns

bool The name

IsValidName(string, bool)

whether this name is valid.

Parameters

strName string Object Name showMsg bool Whether show error messages.

Returns

bool true if the specified name is valid; otherwise, false.

IsValidName(string)

whether this name is valid.

Parameters

strName string Object Name

Returns

bool true if the specified name is valid; otherwise, false.

MakeOppositeSymmetricName(string)

Make opposite symmetric name.

Parameters

strName string The name.

Returns

string The opposite symmetric name

MakeSymmetricName(string, SymmetricType)

Make symmetric name.

Parameters

strNameOriginal string The original name. type SymmetricType The symmetric type.

Returns

string The name