GraphTemplateRepository Class

Summary

Retrieves templates from embedded resources
Assembly
Cake.Graph.dll
Namespace
Cake.Graph.Templates
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IGraphTemplateRepository"] click Interface0 "/api/Cake.Graph.Templates/IGraphTemplateRepository" Type["GraphTemplateRepository"] class Type type-node

Syntax

public class GraphTemplateRepository : IGraphTemplateRepository

Constructors

Name Summary
GraphTemplateRepository() GraphTemplateRepository
GraphTemplateRepository(Assembly, IDictionary<TemplateTypes, string>) GraphTemplateRepository

Properties

Name Value Summary
TemplateResourcePaths IDictionary<TemplateTypes, string>
Provides the paths to the resources

Methods

Name Value Summary
ReadResourceToString(string) string
Reads the resource to a string if it exists

Extension Methods

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