public SubResolveOperationViewModel(ResolveOperation resolveOperation)
        {
            if (resolveOperation.RootInstanceLookup != null)
                _rootInstanceLookup = BuildInstanceLookupTree(resolveOperation.RootInstanceLookup);

            if (resolveOperation.CallingMethod != null)
                _locationDescription = resolveOperation.CallingMethod.DisplayName;

            _isRootOperation = resolveOperation.Parent == null;
        }
示例#2
0
        public SubResolveOperationViewModel(ResolveOperation resolveOperation)
        {
            if (resolveOperation.RootInstanceLookup != null)
            {
                _rootInstanceLookup = BuildInstanceLookupTree(resolveOperation.RootInstanceLookup);
            }

            if (resolveOperation.CallingMethod != null)
            {
                _locationDescription = resolveOperation.CallingMethod.DisplayName;
            }

            _isRootOperation = resolveOperation.Parent == null;
        }