Пример #1
0
        public ActivityEditorViewModel(IEventAggregator eventAggregator)
        {
label_1:
            int num1 = -197246532;

            while (true)
            {
                int  num2 = -1423646843;
                uint num3;
                switch ((num3 = (uint)(num1 ^ num2)) % 4U)
                {
                case 1:
                    this.Windows = new ObservableCollection <ZoomWindow>();
                    num1         = (int)num3 * -151890115 ^ -365968262;
                    continue;

                case 2:
                    this.selectedWindow = (ZoomWindow)null;
                    // ISSUE: method pointer
                    // ISSUE: method pointer
                    this.executeActivityCommand = ActivityEditorViewModel.\u206C‏​‎‮‬‫‪‪‌‌‎​‫‫‌‪‌‎​‭‪‬‏‭‎‌‮(new Action((object)this, __methodptr(ExecuteActivity)), new Func <bool>((object)this, __methodptr(CanExecuteActivity)));
                    num1 = (int)num3 * 648542634 ^ -672060411;
                    continue;

                case 3:
                    goto label_1;

                default:
                    goto label_5;
                }
            }
label_5:
            // ISSUE: method pointer
            this.activityCommand = new DelegateCommand <object>(new Action <object>(this.ExecuteActivityCommand), new Func <object, bool>((object)this, __methodptr(CanExecuteActivityCommand)));
        }
Пример #2
0
 private void ResetActivity()
 {
     throw ActivityEditorViewModel.\u202C​‍‮‪‮‪‏‫‏‎‭‏‫​‍‎‬‏‫‍​‫‭‮‮‮();
 }
Пример #3
0
        private bool CanExecuteActivityCommand(object arg)
        {
            bool   flag1 = false;
            string str   = arg as string;

label_1:
            int num1 = -621358030;
            bool flag2;

            while (true)
            {
                int  num2 = -874977316;
                uint num3;
                bool flag3;
                bool flag4;
                bool flag5;
                int  num4;
                switch ((num3 = (uint)(num1 ^ num2)) % 28U)
                {
                case 0:
                    num1 = (int)num3 * 166454519 ^ 540056099;
                    continue;

                case 1:
                    num1 = (int)num3 * 2105774077 ^ 770559853;
                    continue;

                case 3:
                    int num5;
                    num1 = num5 = !ActivityEditorViewModel.\u200F‪‎‏‪​‍​‬‬‫‭‌‪‏‫‪‏​‍‭‍‍‍​‬‮‮(str, \u003CModule\u003E.\u206B‎‏‎‮‌​‪‏‭‭‍‍‬‬‫‌‎‮‮‪‌‪‮ <string>(9588784U)) ? -1077297311 : (num5 = -795892161);
                    continue;

                case 4:
                    flag1 = true;
                    num1  = (int)num3 * 186787835 ^ -2013270755;
                    continue;

                case 5:
                    flag4 = ActivityEditorViewModel.\u200F‪‎‏‪​‍​‬‬‫‭‌‪‏‫‪‏​‍‭‍‍‍​‬‮‮(str, \u003CModule\u003E.\u202A​‬‫‪‫‪‮‪‫‎‭‪‏‮‎‭‍‌‎‫‍​‎‎‮ <string>(2076102570U));
                    num1  = -1322253949;
                    continue;

                case 6:
                    num1 = (int)num3 * -1477902835 ^ -1495855668;
                    continue;

                case 7:
                    int num6 = flag5 ? 666058517 : (num6 = 895827841);
                    int num7 = (int)num3 * 628971325;
                    num1 = num6 ^ num7;
                    continue;

                case 8:
                    num1 = (int)num3 * -432910360 ^ 457874447;
                    continue;

                case 9:
                    num1 = (int)num3 * -709112027 ^ -2096335906;
                    continue;

                case 10:
                    flag1 = this.Activity.IsDirty;
                    num1  = (int)num3 * -1389158344 ^ -578758723;
                    continue;

                case 11:
                    flag5 = ActivityEditorViewModel.\u200F‪‎‏‪​‍​‬‬‫‭‌‪‏‫‪‏​‍‭‍‍‍​‬‮‮(str, \u003CModule\u003E.\u206A‪‫‬‫‎‭‬‌‫‏‭‭‏‍‫‌​‬‪‎‬‏‬‮ <string>(3822780209U));
                    num1  = (int)num3 * 452115308 ^ -337149765;
                    continue;

                case 12:
                    num1 = (int)num3 * 775663404 ^ -304394087;
                    continue;

                case 13:
                    flag1 = true;
                    num1  = (int)num3 * 478753205 ^ 1314309208;
                    continue;

                case 14:
                    flag3 = ActivityEditorViewModel.\u200F‪‎‏‪​‍​‬‬‫‭‌‪‏‫‪‏​‍‭‍‍‍​‬‮‮(str, \u003CModule\u003E.\u206B‎‏‎‮‌​‪‏‭‭‍‍‬‬‫‌‎‮‮‪‌‪‮ <string>(1263168795U));
                    num1  = -1919926090;
                    continue;

                case 15:
                    num1 = -624529131;
                    continue;

                case 16:
                    goto label_1;

                case 17:
                    flag2 = flag1;
                    num1  = -1994386986;
                    continue;

                case 18:
                    num1 = (int)num3 * 2068083677 ^ 439270465;
                    continue;

                case 19:
                    int num8 = flag4 ? -1729981349 : (num8 = -1176262868);
                    int num9 = (int)num3 * 1353194685;
                    num1 = num8 ^ num9;
                    continue;

                case 20:
                    num4 = this.Activity != null ? 1 : 0;
                    break;

                case 21:
                    num1 = (int)num3 * 953726359 ^ -1559030811;
                    continue;

                case 22:
                    int num10 = flag3 ? 834125809 : (num10 = 1428352287);
                    int num11 = (int)num3 * 1442076112;
                    num1 = num10 ^ num11;
                    continue;

                case 23:
                    flag1 = this.Activity.IsValid;
                    num1  = (int)num3 * 1862499942 ^ -1954829706;
                    continue;

                case 24:
                    num1 = (int)num3 * -181506777 ^ 234691028;
                    continue;

                case 25:
                    num1 = (int)num3 * 1965610521 ^ 1832408481;
                    continue;

                case 26:
                    if (str != null)
                    {
                        num1 = (int)num3 * -1075277491 ^ 1746862698;
                        continue;
                    }
                    num4 = 0;
                    break;

                case 27:
                    str  = ActivityEditorViewModel.\u206F‭​‪‬‮‍‭‍‏​‬‬‬‏‮‎​‭‎‪‬‮(str);
                    num1 = (int)num3 * 355131983 ^ 1629694742;
                    continue;

                default:
                    goto label_32;
                }
                int num12;
                num1 = num12 = num4 != 0 ? -1076255845 : (num12 = -624529131);
            }
label_32:
            return(flag2);
        }
Пример #4
0
        private void ExecuteActivityCommand(object obj)
        {
label_1:
            int num1 = 90465571;

            while (true)
            {
                int    num2 = 1102438102;
                uint   num3;
                bool   flag1;
                string str;
                bool   flag2;
                bool   flag3;
                switch ((num3 = (uint)(num1 ^ num2)) % 28U)
                {
                case 0:
                    goto label_1;

                case 1:
                    num1 = (int)num3 * -259063403 ^ -188923929;
                    continue;

                case 2:
                    num1 = (int)num3 * -1471843075 ^ 690496228;
                    continue;

                case 3:
                    int num4 = !flag1 ? -1525889711 : (num4 = -82990408);
                    int num5 = (int)num3 * -1523144095;
                    num1 = num4 ^ num5;
                    continue;

                case 4:
                    int num6 = flag2 ? 1775228504 : (num6 = 1323107523);
                    int num7 = (int)num3 * -1519617348;
                    num1 = num6 ^ num7;
                    continue;

                case 5:
                    flag2 = str != null;
                    num1  = (int)num3 * 1886903409 ^ 1047915235;
                    continue;

                case 6:
                    str  = ActivityEditorViewModel.\u206F‭​‪‬‮‍‭‍‏​‬‬‬‏‮‎​‭‎‪‬‮(str);
                    num1 = (int)num3 * 908269098 ^ 1066955112;
                    continue;

                case 7:
                    num1 = (int)num3 * -1268269991 ^ 713023012;
                    continue;

                case 8:
                    flag3 = ActivityEditorViewModel.\u200F‪‎‏‪​‍​‬‬‫‭‌‪‏‫‪‏​‍‭‍‍‍​‬‮‮(str, \u003CModule\u003E.\u202A‎‪‫‪‪‏‮‬‎‏‌‌‫‬‌‍‫‌‌‌‮‫‪‮‮ <string>(1578572972U));
                    num1  = 250307217;
                    continue;

                case 9:
                    str  = obj as string;
                    num1 = (int)num3 * 1786358984 ^ -605164601;
                    continue;

                case 10:
                    num1 = (int)num3 * 498532918 ^ 497798756;
                    continue;

                case 11:
                    num1 = (int)num3 * 872830432 ^ 1500431594;
                    continue;

                case 12:
                    num1 = (int)num3 * 942697240 ^ 977527472;
                    continue;

                case 13:
                    this.ResetActivity();
                    num1 = (int)num3 * 1683123615 ^ -2038557646;
                    continue;

                case 14:
                    num1 = (int)num3 * 1270666552 ^ 1068085688;
                    continue;

                case 15:
                    num1 = (int)num3 * 1387247315 ^ 568936060;
                    continue;

                case 16:
                    num1 = 909560659;
                    continue;

                case 17:
                    goto label_3;

                case 18:
                    this.ExecuteActivity();
                    num1 = (int)num3 * -724312823 ^ 1607055591;
                    continue;

                case 19:
                    int num8 = flag3 ? 1186076324 : (num8 = 2091408490);
                    int num9 = (int)num3 * 1792411976;
                    num1 = num8 ^ num9;
                    continue;

                case 20:
                    num1 = (int)num3 * -479866011 ^ -2047923915;
                    continue;

                case 21:
                    flag1 = ActivityEditorViewModel.\u200F‪‎‏‪​‍​‬‬‫‭‌‪‏‫‪‏​‍‭‍‍‍​‬‮‮(str, \u003CModule\u003E.\u200E‏‍‬‌‌‌‫‎‮‎‌‍‌‮‬‎‎‌‎‌‫‬‮‮ <string>(2384185145U));
                    num1  = 842949253;
                    continue;

                case 22:
                    int num10 = ActivityEditorViewModel.\u200F‪‎‏‪​‍​‬‬‫‭‌‪‏‫‪‏​‍‭‍‍‍​‬‮‮(str, \u003CModule\u003E.\u200E‏‍‬‌‌‌‫‎‮‎‌‍‌‮‬‎‎‌‎‌‫‬‮‮ <string>(2420374883U)) ? -144306726 : (num10 = -60815615);
                    int num11 = (int)num3 * 1152976147;
                    num1 = num10 ^ num11;
                    continue;

                case 23:
                    num1 = (int)num3 * -953846992 ^ 434035610;
                    continue;

                case 24:
                    int num12;
                    num1 = num12 = !ActivityEditorViewModel.\u200F‪‎‏‪​‍​‬‬‫‭‌‪‏‫‪‏​‍‭‍‍‍​‬‮‮(str, \u003CModule\u003E.\u206B‎‏‎‮‌​‪‏‭‭‍‍‬‬‫‌‎‮‮‪‌‪‮ <string>(1014975505U)) ? 1461108170 : (num12 = 844788917);
                    continue;

                case 25:
                    this.CancelActivity();
                    num1 = (int)num3 * 1310455739 ^ -1513086739;
                    continue;

                case 26:
                    this.SaveActivity();
                    num1 = (int)num3 * 1644345469 ^ -2133109716;
                    continue;

                case 27:
                    num1 = (int)num3 * 1504568437 ^ -589766832;
                    continue;

                default:
                    goto label_30;
                }
            }
label_30:
            return;

            label_3 :;
        }