# BookOnixRatingUnit

A plain-text name for a review's rating units, optionally tagged with an ONIX list 74 language.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[BookOnixReviewRating.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixReviewRating.cs#L4)

**Implements**

`IEquatable<BookOnixRatingUnit>`

**Modifiers**

sealed

A plain-text name for a review's rating units, optionally tagged with an ONIX list 74 language.

## Inheritance

- object
- BookOnixRatingUnit

## Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [BookOnixRatingUnit.<Clone>$](/api/workflows/officeimo-workflows-bookonixratingunit/#method-clone)
- Property [BookOnixReviewRating.Units](/api/workflows/officeimo-workflows-bookonixreviewrating/#property-units)

### Accepted by parameters 5

- Method [BookOnixRatingUnit.Equals](/api/workflows/officeimo-workflows-bookonixratingunit/#method-equals-bookonixratingunit) parameter `other`
- Method [BookOnixRatingUnit.op_Equality](/api/workflows/officeimo-workflows-bookonixratingunit/#method-op-equality-bookonixratingunit-bookonixratingunit) parameter `left`
- Method [BookOnixRatingUnit.op_Equality](/api/workflows/officeimo-workflows-bookonixratingunit/#method-op-equality-bookonixratingunit-bookonixratingunit) parameter `right`
- Method [BookOnixRatingUnit.op_Inequality](/api/workflows/officeimo-workflows-bookonixratingunit/#method-op-inequality-bookonixratingunit-bookonixratingunit) parameter `left`
- Method [BookOnixRatingUnit.op_Inequality](/api/workflows/officeimo-workflows-bookonixratingunit/#method-op-inequality-bookonixratingunit-bookonixratingunit) parameter `right`

Filter members 

Show inherited

## Constructors

`public BookOnixRatingUnit(string Text, string? LanguageCode = null)` [#](#constructor-ctor-string-string)

[BookOnixReviewRating.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixReviewRating.cs#L4)

A plain-text name for a review's rating units, optionally tagged with an ONIX list 74 language.

Parameters

**Text string required**

**LanguageCode string? = null optional**

## Methods

`public BookOnixRatingUnit <Clone>$()` [#](#method-clone)

Returns

`BookOnixRatingUnit`

`public void Deconstruct(out string Text, out string? LanguageCode)` [#](#method-deconstruct-string-string)

Parameters

**Text string required**

**LanguageCode string? required**

Equals 2 overloads

`public override bool Equals(object? obj)` [#](#method-equals-object)

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixRatingUnit? other)` [#](#method-equals-bookonixratingunit)

Parameters

**other BookOnixRatingUnit? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Returns

`int`

`public static bool op_Equality(BookOnixRatingUnit? left, BookOnixRatingUnit? right)` [#](#method-op-equality-bookonixratingunit-bookonixratingunit)

Parameters

**left BookOnixRatingUnit? required**

**right BookOnixRatingUnit? required**

Returns

`bool`

`public static bool op_Inequality(BookOnixRatingUnit? left, BookOnixRatingUnit? right)` [#](#method-op-inequality-bookonixratingunit-bookonixratingunit)

Parameters

**left BookOnixRatingUnit? required**

**right BookOnixRatingUnit? required**

Returns

`bool`

`public override string ToString()` [#](#method-tostring)

Returns

`string`

## Inherited Methods

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

## Properties

`public string Text { get; init; }` [#](#property-text)

[BookOnixReviewRating.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixReviewRating.cs#L4)

`public string? LanguageCode { get; init; }` [#](#property-languagecode)

[BookOnixReviewRating.cs:4](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixReviewRating.cs#L4)

<!-- PowerForge markdown artifact sha256:B42F0C9C42F782875F3F5EEBCB536DB4421009344B9382663A2E06E502B60A42 -->
