# WebArticleSource

A web article URL, optionally paired with already fetched HTML.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`063fe3ee9839` with working tree changes

**Source**

[WebArticleEpubOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Workflows/Publishing/WebArticleEpubOptions.cs#L10)

**Implements**

`IEquatable<WebArticleSource>`

**Modifiers**

sealed

A web article URL, optionally paired with already fetched HTML.

## Inheritance

- object
- WebArticleSource

## 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 1

- Method [WebArticleSource.<Clone>$](/api/workflows/officeimo-workflows-webarticlesource/#method-clone)

### Accepted by parameters 6

- Method [WebArticleEpubCapture.CaptureAsync](/api/workflows/officeimo-workflows-webarticleepubcapture/#method-captureasync-collections-generic-ienumerable-officeimo-workflows-webarticlesource-officeimo-workflows-webarticleepuboptions-threading-cancellationtoken) parameter `sources`
- Method [WebArticleSource.Equals](/api/workflows/officeimo-workflows-webarticlesource/#method-equals-webarticlesource) parameter `other`
- Method [WebArticleSource.op_Equality](/api/workflows/officeimo-workflows-webarticlesource/#method-op-equality-webarticlesource-webarticlesource) parameter `left`
- Method [WebArticleSource.op_Equality](/api/workflows/officeimo-workflows-webarticlesource/#method-op-equality-webarticlesource-webarticlesource) parameter `right`
- Method [WebArticleSource.op_Inequality](/api/workflows/officeimo-workflows-webarticlesource/#method-op-inequality-webarticlesource-webarticlesource) parameter `left`
- Method [WebArticleSource.op_Inequality](/api/workflows/officeimo-workflows-webarticlesource/#method-op-inequality-webarticlesource-webarticlesource) parameter `right`

Filter members 

Show inherited

## Constructors

`public WebArticleSource(Uri Url, string? Html = null)` [#](#constructor-ctor-uri-string)

[WebArticleEpubOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Workflows/Publishing/WebArticleEpubOptions.cs#L10)

A web article URL, optionally paired with already fetched HTML.

Parameters

**Url System.Uri required**

HTTP(S) URL. For supplied HTML, use the final response URL to resolve relative references.

**Html string? = null optional**

An optional static HTML snapshot. A null value fetches the page.

## Methods

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

Returns

`WebArticleSource`

`public void Deconstruct(out Uri Url, out string? Html)` [#](#method-deconstruct-uri-string)

Parameters

**Url Uri required**

**Html string? required**

Equals 2 overloads

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

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(WebArticleSource? other)` [#](#method-equals-webarticlesource)

Parameters

**other WebArticleSource? required**

Returns

`bool`

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

Returns

`int`

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

Parameters

**left WebArticleSource? required**

**right WebArticleSource? required**

Returns

`bool`

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

Parameters

**left WebArticleSource? required**

**right WebArticleSource? 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 Uri Url { get; init; }` [#](#property-url)

[WebArticleEpubOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Workflows/Publishing/WebArticleEpubOptions.cs#L10)

HTTP(S) URL. For supplied HTML, use the final response URL to resolve relative references.

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

[WebArticleEpubOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/063fe3ee9839db87940fc9ed8ae72f1f44b10982/OfficeIMO.Workflows/Publishing/WebArticleEpubOptions.cs#L10)

An optional static HTML snapshot. A null value fetches the page.

<!-- PowerForge markdown artifact sha256:0B74E41C6E32ADA9C0A0C4D945F61876D87322706C52A1946FF286839E6DE586 -->
