Search Results for

Show / Hide Table of Contents

# Class BinaryBasicNameMapper

Base binary name mapper implementation.

##### Inheritance

System.Object
BinaryBasicNameMapper

##### Implements

IBinaryNameMapper

###### Namespace: Apache.Ignite.Core.Binary

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    public class BinaryBasicNameMapper : object, IBinaryNameMapper

### Properties

#### IsSimpleName

Gets or sets a value indicating whether this instance maps to simple type names.

##### Declaration

    public bool IsSimpleName { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

#### NamespacePrefix

Gets or sets the prefix to be added to the full type name. For example, Java package names usually begin with `org.` or `com.`.

In combination with NamespaceToLower, we can map .NET type name `Apache.Ignite.Foo` to a corresponding Java type name `org.apache.ignite.Foo`, conforming to the naming conventions for both languages.

##### Declaration

    public string NamespacePrefix { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

#### NamespaceToLower

Gets or sets a value indicating whether this instance converts the namespace part to the lower case. For example, Java package names are usually lowercase.

In combination with NamespacePrefix, we can map .NET type name `Apache.Ignite.Foo` to a corresponding Java type name `org.apache.ignite.Foo`, conforming to the naming conventions for both languages.

##### Declaration

    public bool NamespaceToLower { get; set; }

##### Property Value

Type | Description
--- | ---
System.Boolean |

### Methods

#### GetFieldName(String)

Gets the field name.

##### Declaration

    public string GetFieldName(string name)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | name |

##### Returns

Type | Description
--- | ---
System.String |

#### GetTypeName(String)

Gets the type name.

##### Declaration

    public string GetTypeName(string name)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | name |

##### Returns

Type | Description
--- | ---
System.String |

### Implements

IBinaryNameMapper