///<summary>
 ///  Raises the CompilationReady event.
 ///  In case of cached results, it will propogate a flag to event handler
 ///  to avoid chained compilation for CSS preprocessors.
 ///  (see https://github.com/madskristensen/WebEssentials2013/issues/916).
 ///</summary>
 ///<param name="e">A CompilerResultEventArgs object that provides the event data.</param>
 ///<param name="cached">A flag to indicate if event is raised for cached results.</param>
 private void OnCompilationReady(CompilerResultEventArgs e, bool cached = false)
 {
     if (CompilationReady != null)
     {
         CompilationReady(cached, e);
     }
 }
Ejemplo n.º 2
0
 ///<summary>Raises the CompilationReady event.</summary>
 ///<param name="e">A CompilerResultEventArgs object that provides the event data.</param>
 protected virtual void OnCompilationReady(CompilerResultEventArgs e)
 {
     if (CompilationReady != null)
     {
         CompilationReady(this, e);
     }
 }
Ejemplo n.º 3
0
 ///<summary>
 ///  Raises the CompilationReady event.
 ///  In case of cached results, it will propogate a flag to event handler
 ///  to avoid chained compilation for CSS preprocessors.
 ///  (see https://github.com/madskristensen/WebEssentials2013/issues/916).
 ///</summary>
 ///<param name="e">A CompilerResultEventArgs object that provides the event data.</param>
 ///<param name="cached">A flag to indicate if event is raised for cached results.</param>
 protected virtual void OnCompilationReady(CompilerResultEventArgs e, bool cached)
 {
     if (CompilationReady != null)
     {
         CompilationReady(cached, e);
     }
 }
Ejemplo n.º 4
0
 protected override void OnCompilationReady(CompilerResultEventArgs e)
 {
     foreach (var error in e.CompilerResult.Errors)
     {
         CreateTask(error);
     }
     base.OnCompilationReady(e);
 }
 ///<summary>Raises the CompilationReady event.</summary>
 ///<param name="e">A CompilerResultEventArgs object that provides the event data.</param>
 protected virtual void OnCompilationReady(CompilerResultEventArgs e)
 {
     if (CompilationReady != null)
         CompilationReady(this, e);
 }
 protected override void OnCompilationReady(CompilerResultEventArgs e)
 {
     foreach (var error in e.CompilerResult.Errors)
         CreateTask(error);
     base.OnCompilationReady(e);
 }
 ///<summary>Raises the CompilationReady event.</summary>
 ///<param name="e">A CompilerResultEventArgs object that provides the event data.</param>
 protected virtual void OnCompilationReady(CompilerResultEventArgs e)
 {
 }
 ///<summary>
 ///  Raises the CompilationReady event.
 ///  In case of cached results, it will propogate a flag to event handler
 ///  to avoid chained compilation for CSS preprocessors.
 ///  (see https://github.com/madskristensen/WebEssentials2013/issues/916).
 ///</summary>
 ///<param name="e">A CompilerResultEventArgs object that provides the event data.</param>
 ///<param name="cached">A flag to indicate if event is raised for cached results.</param>
 private void OnCompilationReady(CompilerResultEventArgs e, bool cached = false)
 {
     if (CompilationReady != null)
         CompilationReady(cached, e);
 }
 ///<summary>Raises the CompilationReady event.</summary>
 ///<param name="e">A CompilerResultEventArgs object that provides the event data.</param>
 protected virtual void OnCompilationReady(CompilerResultEventArgs e) { }
 ///<summary>
 ///  Raises the CompilationReady event.
 ///  In case of cached results, it will propogate a flag to event handler
 ///  to avoid chained compilation for CSS preprocessors.
 ///  (see https://github.com/madskristensen/WebEssentials2013/issues/916).
 ///</summary>
 ///<param name="e">A CompilerResultEventArgs object that provides the event data.</param>
 ///<param name="cached">A flag to indicate if event is raised for cached results.</param>
 protected virtual void OnCompilationReady(CompilerResultEventArgs e, bool cached)
 {
     if (CompilationReady != null)
         CompilationReady(cached, e);
 }