Ejemplo n.º 1
0
        public bool Equals(DestinyArtifactTierDefinition input)
        {
            if (input == null)
            {
                return(false);
            }

            return
                ((
                     TierHash == input.TierHash ||
                     (TierHash.Equals(input.TierHash))
                     ) &&
                 (
                     DisplayTitle == input.DisplayTitle ||
                     (DisplayTitle != null && DisplayTitle.Equals(input.DisplayTitle))
                 ) &&
                 (
                     ProgressRequirementMessage == input.ProgressRequirementMessage ||
                     (ProgressRequirementMessage != null && ProgressRequirementMessage.Equals(input.ProgressRequirementMessage))
                 ) &&
                 (
                     Items == input.Items ||
                     (Items != null && Items.SequenceEqual(input.Items))
                 ) &&
                 (
                     MinimumUnlockPointsUsedRequirement == input.MinimumUnlockPointsUsedRequirement ||
                     (MinimumUnlockPointsUsedRequirement.Equals(input.MinimumUnlockPointsUsedRequirement))
                 ));
        }
Ejemplo n.º 2
0
        public virtual void Execute()
        {
            var wf = ServiceRegistration.Get <IWorkflowManager>();

            wf.NavigatePush(CONFIGURATION_STATE_ID, new NavigationContextConfig()
            {
                NavigationContextDisplayLabel = DisplayTitle.Evaluate(),
                AdditionalContextVariables    = new Dictionary <string, object> {
                    { CONFIG_LOCATION_KEY, ConfigLocation }
                }
            });
        }
        public bool Equals(DestinyVendorCategoryEntryDefinition input)
        {
            if (input == null) return false;

            return
                (
                    CategoryIndex == input.CategoryIndex ||
                    (CategoryIndex.Equals(input.CategoryIndex))
                ) &&
                (
                    SortValue == input.SortValue ||
                    (SortValue.Equals(input.SortValue))
                ) &&
                (
                    CategoryHash == input.CategoryHash ||
                    (CategoryHash.Equals(input.CategoryHash))
                ) &&
                (
                    QuantityAvailable == input.QuantityAvailable ||
                    (QuantityAvailable.Equals(input.QuantityAvailable))
                ) &&
                (
                    ShowUnavailableItems == input.ShowUnavailableItems ||
                    (ShowUnavailableItems != null && ShowUnavailableItems.Equals(input.ShowUnavailableItems))
                ) &&
                (
                    HideIfNoCurrency == input.HideIfNoCurrency ||
                    (HideIfNoCurrency != null && HideIfNoCurrency.Equals(input.HideIfNoCurrency))
                ) &&
                (
                    HideFromRegularPurchase == input.HideFromRegularPurchase ||
                    (HideFromRegularPurchase != null && HideFromRegularPurchase.Equals(input.HideFromRegularPurchase))
                ) &&
                (
                    BuyStringOverride == input.BuyStringOverride ||
                    (BuyStringOverride != null && BuyStringOverride.Equals(input.BuyStringOverride))
                ) &&
                (
                    DisabledDescription == input.DisabledDescription ||
                    (DisabledDescription != null && DisabledDescription.Equals(input.DisabledDescription))
                ) &&
                (
                    DisplayTitle == input.DisplayTitle ||
                    (DisplayTitle != null && DisplayTitle.Equals(input.DisplayTitle))
                ) &&
                (
                    Overlay == input.Overlay ||
                    (Overlay != null && Overlay.Equals(input.Overlay))
                ) &&
                (
                    VendorItemIndexes == input.VendorItemIndexes ||
                    (VendorItemIndexes != null && VendorItemIndexes.SequenceEqual(input.VendorItemIndexes))
                ) &&
                (
                    IsPreview == input.IsPreview ||
                    (IsPreview != null && IsPreview.Equals(input.IsPreview))
                ) &&
                (
                    IsDisplayOnly == input.IsDisplayOnly ||
                    (IsDisplayOnly != null && IsDisplayOnly.Equals(input.IsDisplayOnly))
                ) &&
                (
                    ResetIntervalMinutesOverride == input.ResetIntervalMinutesOverride ||
                    (ResetIntervalMinutesOverride.Equals(input.ResetIntervalMinutesOverride))
                ) &&
                (
                    ResetOffsetMinutesOverride == input.ResetOffsetMinutesOverride ||
                    (ResetOffsetMinutesOverride.Equals(input.ResetOffsetMinutesOverride))
                ) ;
        }