示例#1
0
 private void CustomizeLocalEnvironmentInfo([NotNull] OutEventArgs<object> args)
 {
     var reSharperInfo = args.Out as UpdateLocalEnvironmentInfoVs;
     if (reSharperInfo == null)
         args.Out = null;
     else {
         var rootInfo = new RootUpdateInfo { ReSharper = reSharperInfo };
         FillPlugInInfo(rootInfo.Plugin);
         args.Out = rootInfo;
     }
 }
示例#2
0
        private static void CustomizeLocalEnvironmentInfo([NotNull] OutEventArgs <object> args)
        {
            var reSharperInfo = args.Out as UpdateLocalEnvironmentInfoVs;

            if (reSharperInfo == null)
            {
                args.Out = null;
            }
            else
            {
                var rootInfo = new RootUpdateInfo {
                    ReSharper = reSharperInfo
                };
                FillPlugInInfo(rootInfo.Plugin);
                args.Out = rootInfo;
            }
        }