コード例 #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
ファイル: Watermark.cs プロジェクト: stukalin/ImageResizer
 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;
 }