/// <summary> /// Processes the specified module. /// </summary> /// <param name="context">The context.</param> /// <returns></returns> protected override bool Process(ProjectStitcherContext context) { var stitcherContext = new StitcherContext(); foreach (var fieldInfo in context.GetType().GetFields(BindingFlags.Instance | BindingFlags.NonPublic)) fieldInfo.SetValue(stitcherContext, fieldInfo.GetValue(context)); return Process(stitcherContext); }
/// <summary> /// Processes the specified module. /// </summary> /// <param name="context">The context.</param> /// <returns></returns> protected override bool Process(ProjectStitcherContext context) { var stitcherContext = new StitcherContext(); foreach (var fieldInfo in context.GetType().GetFields(BindingFlags.Instance | BindingFlags.NonPublic)) { fieldInfo.SetValue(stitcherContext, fieldInfo.GetValue(context)); } return(Process(stitcherContext)); }