# BookOnixMarketSegment

One geographical segment of a supply market, with additional non-territorial restrictions.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[BookOnixCommercialMetadata.cs:146](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L146)

**Implements**

`IEquatable<BookOnixMarketSegment>`

**Modifiers**

sealed

One geographical segment of a supply market, with additional non-territorial restrictions.

## Inheritance

- object
- BookOnixMarketSegment

## 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 [BookOnixMarketSegment.<Clone>$](/api/workflows/officeimo-workflows-bookonixmarketsegment/#method-clone)
- Property [BookOnixSupply.MarketSegments](/api/workflows/officeimo-workflows-bookonixsupply/#property-marketsegments)

### Accepted by parameters 5

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

Filter members 

Show inherited

## Constructors

`public BookOnixMarketSegment()` [#](#constructor-ctor)

[BookOnixCommercialMetadata.cs:146](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L146)

`Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)`

## Methods

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

Returns

`BookOnixMarketSegment`

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixMarketSegment? other)` [#](#method-equals-bookonixmarketsegment)

Parameters

**other BookOnixMarketSegment? required**

Returns

`bool`

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

Returns

`int`

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

Parameters

**left BookOnixMarketSegment? required**

**right BookOnixMarketSegment? required**

Returns

`bool`

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

Parameters

**left BookOnixMarketSegment? required**

**right BookOnixMarketSegment? 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 BookOnixTerritory Territory { get; init; }` [#](#property-territory)

[BookOnixCommercialMetadata.cs:144](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L144)

Explicit segment territory; segments must partition the containing supply territory without overlap or gaps.

`public IReadOnlyList<BookOnixSalesRestriction> Restrictions { get; init; }` [#](#property-restrictions)

[BookOnixCommercialMetadata.cs:146](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixCommercialMetadata.cs#L146)

Additional restrictions for this segment. Combined with supply-wide restrictions, at most 32 are allowed.

<!-- PowerForge markdown artifact sha256:751D2A6A56B3DA3E1DEC6B8B528D93E1C86B2165EAC5EE945E88F2C69894EC3F -->
