예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PhunFileSystem" /> class.
 /// </summary>
 /// <param name="api">The API.</param>
 /// <param name="connector">The connector.</param>
 /// <param name="context">The context.</param>
 public PhunFileSystem(IPhunApi api, IContentConnector connector)
 {
     this.connector = connector;
     this.api = api;
     this.config = Bootstrapper.Default.Config;
     this.myUtility = new ResourcePathUtility();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TemplateCache" /> class.
 /// </summary>
 /// <param name="api">The API.</param>
 /// <param name="context">The context.</param>
 public TemplateCache(IPhunApi api, HttpContextBase context)
 {
     this.api = api;
     this.context = context;
     this.config = Bootstrapper.Default.Config;
 }