Skip to content

markdoccore IView

Denis Akopyan edited this page Mar 6, 2022 · 1 revision

IView interface

Description

Interface for views

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph MarkDoc.Core
  MarkDoc.Core.IView[[IView]]
  class MarkDoc.Core.IView interfaceStyle;
  end
Loading

Members

Methods

Public methods

Returns Name
IViewModel GetViewModel()
Retrieves the views view models
Task SetArguments(IEnumerable<string> arguments)
Task SetNamedArgumentsAsync(IReadOnlyDictionary<string, string> arguments)

Details

Summary

Interface for views

Methods

GetViewModel

public abstract IViewModel GetViewModel()
Summary

Retrieves the views view models

Returns

View model instance

SetArguments

public virtual async Task SetArguments(IEnumerable<string> arguments)
Arguments
Type Name Description
IEnumerable<string> arguments

SetNamedArgumentsAsync

public abstract Task SetNamedArgumentsAsync(IReadOnlyDictionary<string, string> arguments)
Arguments
Type Name Description
IReadOnlyDictionary<string, string> arguments

Generated with MarkDoc

Clone this wiki locally