GraphTemplateManager Class

Summary

Functions for reading embedded resources
Assembly
Cake.Graph.dll
Namespace
Cake.Graph.Templates
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IGraphTemplateManager"] click Interface0 "/api/Cake.Graph.Templates/IGraphTemplateManager" Type["GraphTemplateManager"] class Type type-node

Syntax

public class GraphTemplateManager : IGraphTemplateManager

Constructors

Name Summary
GraphTemplateManager() GraphTemplateManager
GraphTemplateManager(IGraphTemplateRepository) GraphTemplateManager

Methods

Name Value Summary
ParseTemplateAsync<T>(TemplateTypes, T) Task<string>
Parses the specified razor template and returns the result as a string

Extension Methods

Name Value Summary
Dump<GraphTemplateManager>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GraphTemplateManager>(GraphTemplateManager[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GraphTemplateManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GraphTemplateManager>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<GraphTemplateManager>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GraphTemplateManager>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin