Table of Contents

Operator implicit operator

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

implicit operator Decimal128(byte)

Performs an implicit conversion from byte to Decimal128.

public static implicit operator Decimal128(byte value)

Parameters

value byte

The value.

Returns

Decimal128

The result of the conversion.

implicit operator Decimal128(decimal)

Performs an implicit conversion from decimal to Decimal128.

public static implicit operator Decimal128(decimal value)

Parameters

value decimal

The value.

Returns

Decimal128

The result of the conversion.

implicit operator Decimal128(int)

Performs an implicit conversion from int to Decimal128.

public static implicit operator Decimal128(int value)

Parameters

value int

The value.

Returns

Decimal128

The result of the conversion.

implicit operator Decimal128(long)

Performs an implicit conversion from long to Decimal128.

public static implicit operator Decimal128(long value)

Parameters

value long

The value.

Returns

Decimal128

The result of the conversion.

implicit operator Decimal128(sbyte)

Performs an implicit conversion from sbyte to Decimal128.

[CLSCompliant(false)]
public static implicit operator Decimal128(sbyte value)

Parameters

value sbyte

The value.

Returns

Decimal128

The result of the conversion.

implicit operator Decimal128(short)

Performs an implicit conversion from short to Decimal128.

public static implicit operator Decimal128(short value)

Parameters

value short

The value.

Returns

Decimal128

The result of the conversion.

implicit operator Decimal128(uint)

Performs an implicit conversion from uint to Decimal128.

[CLSCompliant(false)]
public static implicit operator Decimal128(uint value)

Parameters

value uint

The value.

Returns

Decimal128

The result of the conversion.

implicit operator Decimal128(ushort)

Performs an implicit conversion from ushort to Decimal128.

[CLSCompliant(false)]
public static implicit operator Decimal128(ushort value)

Parameters

value ushort

The value.

Returns

Decimal128

The result of the conversion.

implicit operator Decimal128(ulong)

Performs an implicit conversion from ulong to Decimal128.

[CLSCompliant(false)]
public static implicit operator Decimal128(ulong value)

Parameters

value ulong

The value.

Returns

Decimal128

The result of the conversion.