示例#1
0
 public IPlugin Install(Configuration.Config c)
 {
     c.Plugins.add_plugin(this);
     this.c = c;
     this.OtherImages.ConfigInstance = c;
     _namedWatermarks = ParseWatermarks(c.getConfigXml().queryFirst("watermarks"), ref _otherImages);
     return this;
 }
示例#2
0
 public IPlugin Install(Configuration.Config c)
 {
     c.Plugins.add_plugin(this);
     this.c = c;
     this.OtherImages.ConfigInstance = c;
     _namedWatermarks = ParseWatermarks(c.getConfigXml().queryFirst("watermarks"), ref _defaultImageQuery, ref _otherImages);
     c.Pipeline.PostRewrite += Pipeline_PostRewrite;
     return this;
 }