Skip to the content.

< Back


InheritDocImpl

Namespace: MyClassLib

Demonstrates <inheritdoc/> on an interface implementation and an explicit <inheritdoc cref="..."/> pointing at an unrelated member.

public class InheritDocImpl : IInheritDocSource

Inheritance ObjectInheritDocImpl
Implements IInheritDocSource

Constructors

InheritDocImpl()

public InheritDocImpl()

Methods

Lookup(String)

Looks up an item by key.

public string Lookup(string key)

Parameters

key String
The lookup key.

Returns

String
The matched item, or an empty string.

ReuseFromCref(Int32)

Processes an input value.

public int ReuseFromCref(int value)

Parameters

value Int32
The input value.

Returns

Int32
The processed value.

Exceptions

ArgumentException
Thrown when value is negative.


< Back