Exemplo n.º 1
0
 public PluginList WithPlugin(IPlugin plugin)
 {
     var result = new PluginList();
     result._plugins.AddRange(Plugins);
     result._plugins.Add(plugin);
     return result;
 }
Exemplo n.º 2
0
 public PluginList WithAnimatedGifExtensions()
 {
     var result = new PluginList();
     result._plugins.AddRange(Plugins);
     result._plugins.Add(new PrettyGifs());
     result._plugins.Add(new AnimatedGifs());
     return result;
 }