Ejemplo n.º 1
0
 private void RaiseNeedContextInformation(NeedContextInformationEventArgs args)
 {
     if (NeedContextInformation != null)
     {
         NeedContextInformation(this, args);
     }
 }
Ejemplo n.º 2
0
        private void WriteLineIf(bool condition, string text)
        {
            NeedContextInformationEventArgs args = new NeedContextInformationEventArgs();

            RaiseNeedContextInformation(args);
            WriteLineIf(condition, args.ContextInformation, text);
        }