# CslStyleLoadOptions

Local data and resource limits for loading a CSL style.

Class 

`OfficeIMO.Bibliography`

**Namespace**

`OfficeIMO.Bibliography`

**Assembly**

`OfficeIMO.Bibliography`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[CslModels.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L14)

**Modifiers**

sealed

Local data and resource limits for loading a CSL style.

## Inheritance

- object
- CslStyleLoadOptions

## Usage

Explore 1 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.

### Accepted by parameters 1

- Method [CslStyle.Parse](/api/bibliography/officeimo-bibliography-cslstyle/#method-parse-string-officeimo-bibliography-cslstyleloadoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

[CslModels.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L14)

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public int MaxCharacters { get; set; }` [#](#property-maxcharacters)

[CslModels.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L14)

Maximum characters in each style XML document.

`public int MaxNestingDepth { get; set; }` [#](#property-maxnestingdepth)

[CslModels.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L16)

Maximum XML and macro nesting depth.

`public Func<string, string?>? IndependentStyleResolver { get; set; }` [#](#property-independentstyleresolver)

[CslModels.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.Bibliography/Citations/CslModels.cs#L18)

Resolves an independent parent style by its CSL identifier. The library performs no network access.

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