GraphTemplateRepository Class

Summary

Retrieves templates from embedded resources
Namespace
Cake.Graph.Templates
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IGraphTemplateRepository"]-.->Type click Interface0 "/Cake.Graph/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<TKey, TValue>
Provides the paths to the resources

Methods

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