# BookOnixUsageConstraint

Explicit usage assertion; serialization does not enforce permissions or interpret a license.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[BookOnixUsageConstraint.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixUsageConstraint.cs#L116)

**Implements**

`IEquatable<BookOnixUsageConstraint>`

**Modifiers**

sealed

Explicit usage assertion; serialization does not enforce permissions or interpret a license.

## Inheritance

- object
- BookOnixUsageConstraint

## Usage

Explore 8 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 3

- Property [BookOnixCollateralText.UsageConstraints](/api/workflows/officeimo-workflows-bookonixcollateraltext/#property-usageconstraints)
- Property [BookOnixResourceVersion.UsageConstraints](/api/workflows/officeimo-workflows-bookonixresourceversion/#property-usageconstraints)
- Method [BookOnixUsageConstraint.<Clone>$](/api/workflows/officeimo-workflows-bookonixusageconstraint/#method-clone)

### Accepted by parameters 5

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

Filter members 

Show inherited

## Constructors

`public BookOnixUsageConstraint(BookOnixUsageType Type, BookOnixUsageStatus Status)` [#](#constructor-ctor-officeimo-workflows-bookonixusagetype-officeimo-workflows-bookonixusagestatus)

[BookOnixUsageConstraint.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixUsageConstraint.cs#L116)

Explicit usage assertion; serialization does not enforce permissions or interpret a license.

Parameters

**Type OfficeIMO.Workflows.BookOnixUsageType required**

**Status OfficeIMO.Workflows.BookOnixUsageStatus required**

## Methods

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

Returns

`BookOnixUsageConstraint`

`public void Deconstruct(out BookOnixUsageType Type, out BookOnixUsageStatus Status)` [#](#method-deconstruct-bookonixusagetype-bookonixusagestatus)

Parameters

**Type BookOnixUsageType required**

**Status BookOnixUsageStatus required**

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixUsageConstraint? other)` [#](#method-equals-bookonixusageconstraint)

Parameters

**other BookOnixUsageConstraint? required**

Returns

`bool`

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

Returns

`int`

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

Parameters

**left BookOnixUsageConstraint? required**

**right BookOnixUsageConstraint? required**

Returns

`bool`

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

Parameters

**left BookOnixUsageConstraint? required**

**right BookOnixUsageConstraint? 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 IReadOnlyList<BookOnixUsageLimit> Limits { get; init; }` [#](#property-limits)

[BookOnixUsageConstraint.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixUsageConstraint.cs#L116)

Up to 32 limits with distinct units. Date-only limits may accompany any status.

`public BookOnixUsageType Type { get; init; }` [#](#property-type)

[BookOnixUsageConstraint.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixUsageConstraint.cs#L114)

`public BookOnixUsageStatus Status { get; init; }` [#](#property-status)

[BookOnixUsageConstraint.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixUsageConstraint.cs#L114)

<!-- PowerForge markdown artifact sha256:5A0DA744EC9EC6AF8B73516A3B7B7E08F68AA83EEBDE0407E06FCD051BF6C5F4 -->
