Show / Hide Table of Contents

Interface ILoadsModel

An object which can load a model object from a file path.

Namespace: ZptSharp.Cli
Assembly: ZptSharp.Cli.dll
Syntax
public interface ILoadsModel

Methods

| Improve this Doc View Source

LoadModelAsync(String, CancellationToken)

Loads and returns the model.

Declaration
Task<object> LoadModelAsync(string path, CancellationToken token = default(CancellationToken))
Parameters
Type Name Description
System.String path

The file path.

System.Threading.CancellationToken token

An optional cancallation token.

Returns
Type Description
System.Threading.Tasks.Task<System.Object>

The model object.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX