Breyta

Deila með


CodeIdentifiers Class

Definition

Maintains a group of names for related code entities or type mappings that are generated by .NET's XML serialization infrastructure.

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

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

Remarks

The following list identifies tools and classes that use the CodeIdentifiers:

Instead of using the CodeIdentifiers class directly, use the aforementioned tools or classes. If you want to control the names of code entities that are bound to XML Schema or Web service definitions, use the associated attributes.

Depending on its scope, a CodeIdentifiers instance can be used to maintain the names of any of the items in the following list:

  • Types, methods, or fields.

  • The parameters and return value of a method corresponding to WSDL input and output messages.

  • Objects within a ServiceDescription instance that can be serialized to a WSDL document.

Typically, the class is used to avoid naming collisions between code entities within a particular scope, including collisions with the name of a containing entity.

Constructors

CodeIdentifiers()

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

Initializes a new instance of the CodeIdentifiers class.

CodeIdentifiers(Boolean)

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

Initializes a new instance of the CodeIdentifiers class and determines whether code identifiers are case sensitive.

Properties

UseCamelCasing

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

Gets or sets a value that indicates whether the instance uses camel case.

Methods

Add(String, Object)

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

Adds a named code entity or type mapping to the CodeIdentifiers instance's scope.

AddReserved(String)

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

Prevents a specified name from being used within the CodeIdentifiers instance's scope.

AddUnique(String, Object)

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

Adds a named code entity or type mapping to the CodeIdentifiers instance's scope, ensuring that the name is unique within the scope.

Clear()

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

Removes all code entities or type mappings, including their names, from the CodeIdentifiers instance's scope.

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)
IsInUse(String)

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

Determines whether a specified name is already being used within the CodeIdentifiers instance's scope.

MakeRightCase(String)

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

Ensures that the input is of the correct case by modifying the name according to the value of the UseCamelCasing property.

MakeUnique(String)

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

Determines whether the input name conflicts with another name within the CodeIdentifiers instance's scope and, if it does, generates a modified string.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(String)

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

Removes from the CodeIdentifiers instance's scope the code entity or type mapping identified by the input name.

RemoveReserved(String)

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

Removes the input name from the CodeIdentifiers instance's reserved names.

ToArray(Type)

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

Returns an array of the code entities or type mappings within the CodeIdentifiers instance's scope.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to