Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SyntaxRenderer"/> class.
 /// </summary>
 /// <param name="resolver">The resolver.</param>
 /// <param name="signatureResolver">The signature service.</param>
 /// <param name="renderer">The renderer.</param>
 /// <param name="urlResolver">The URL resolver.</param>
 public SyntaxRenderer(
     DocumentModelResolver resolver,
     SignatureCache signatureResolver,
     SignatureRenderer renderer,
     UrlResolver urlResolver)
 {
     _resolver = resolver;
     _signatureResolver = signatureResolver;
     _renderer = renderer;
     _urlResolver = urlResolver;
 }
Ejemplo n.º 2
0
 public ApiServices(
     DocumentModel model,
     DocumentModelResolver documentModelResolver,
     UrlResolver urlResolver,
     SignatureRenderer signatureRenderer,
     LanguageProvider languageProvider,
     SyntaxRenderer syntaxRenderer,
     SignatureCache signatureResolver)
 {
     Model = model;
     ModelResolver = documentModelResolver;
     UrlResolver = urlResolver;
     SignatureRenderer = signatureRenderer;
     LanguageProvider = languageProvider;
     SyntaxRenderer = syntaxRenderer;
     SignatureResolver = signatureResolver;
 }