RunicWindowParameter<TParameter> class

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public sealed class RunicWindowParameter<TParameter> : IRunicWindowParameter<TParameter> where TParameter : class

Inherits or implements IRunicWindowParameter.

A fixed IRunicWindowParameter, for a ViewModel that a test builds by hand.

Parameters

value

The parameter.

Constructors

RunicWindowParameter

public RunicWindowParameter(TParameter value)

A fixed IRunicWindowParameter, for a ViewModel that a test builds by hand.

Parameters

value

The parameter.

Properties

Value

public TParameter Value { get; }

The parameter the Window was opened with.

Exceptions

InvalidOperationException

The Window was opened without a parameter of this type, or the service was resolved outside a Window's scope.

Documentation from IRunicWindowParameter.Value.