Edytuj

Udostępnij za pośrednictwem


CodeIdentifier Class

Definition

Provides static methods to convert input text into names for code entities.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class CodeIdentifier
public class CodeIdentifier
type CodeIdentifier = class
Public Class CodeIdentifier
Inheritance
CodeIdentifier

Remarks

The methods of the CodeIdentifier class are used by the XML serialization infrastructure while producing .NET Framework types from XML element and data type definitions. XML element or attribute names typically provide the methods' input text.

You do not need to call the methods of the CodeIdentifier class directly from your code. Instead, use the various tools and APIs provided by the .NET Framework for XML serialization, such as the XmlSerializer, or the XML Schema Definition Tool (Xsd.exe) tool.

Constructors

CodeIdentifier()

This API supports the product infrastructure and is not intended to be used directly from your code.

Obsolete.

Initializes a new instance of the CodeIdentifier class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MakeCamel(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Produces a camel-case string from an input string.

MakePascal(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Produces a Pascal-case string from an input string.

MakeValid(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Produces a valid code entity name from an input string.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also