Romestead Assembly Reference

Candide.CandideUI.UserControls.ResourceDisplayControl

Type JSON

public class in Candide.CandideUI.UserControls

Methods5
Properties2
Fields6
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
_availableResourcesprivateprivate Shared.Models.Construction.ConstructionMaterialsAggregate _availableResources
_columnCountprivateprivate System.Int32 _columnCount
_displaysprivateprivate System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay> _displays
_errorTextWrapperprivateprivate Candide.CandideUI.Components.CandideErrorTextWrapper _errorTextWrapper
_gridprivateprivate Candide.CandideUI.Containers.CandideGrid _grid
_visibleResourcesprivateprivate System.String[] _visibleResources

Properties

NameVisibilitySignature
AvailableResourcespublicpublic Shared.Models.Construction.ConstructionMaterialsAggregate AvailableResources
ColumnCountpublicpublic System.Int32 ColumnCount

Methods

AvailableResourcesChanged

private System.Void AvailableResourcesChanged()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash04DD735CDB7DD40663061A21C047431004E553EB86A8E60C81CBA0B9C93ACFE0
  • Body hash1D0B11FBBB18D8B69965C66D41CEE19F053540DCF4F3C737C7574E6331F8424A
  • IL size110
Referenced calls
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
  • System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::GetEnumerator()
  • Dictionary.Enumerator<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::get_Key()
  • Shared.Models.Construction.ConstructionMaterialsAggregate::GetAmountForResource(System.String)
  • System.Collections.Generic.KeyValuePair<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::get_Value()
  • System.Int32::ToString()
  • Candide.CandideUI.Components.CandideTextLabel::set_Text(System.String)
  • Dictionary.Enumerator<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::MoveNext()
  • System.IDisposable::Dispose()
String literals
  • ResourceDisplayControl: AvailableResources is not set.

DisplayErrorMessage

public System.Void DisplayErrorMessage(System.String message)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashCEAA4EC35085678962A2EC13AAD3912941BD53DC28551CF173B7B5D31DC3C62C
  • Body hashD606299BF68E097D763E1BB4BFFA9C864F364300D62F1F4F7F8B4E493AB45844
  • IL size13
Referenced calls

DisplaysChanged

private System.Void DisplaysChanged()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash1011F47375C65574BAECB1FB6B5353EA419D15A4DD148A37DC0474763C8EDCFB
  • Body hash51149D9DA3E2EEC72E7E83F534C2C70557CA514647F0EDF8C898E97BD35C5764
  • IL size253
Referenced calls
  • Candide.CandideUI.UserControls.ResourceDisplayControl::get_ColumnCount()
  • Candide.CandideUI.Containers.CandideGrid::ClearChildren()
  • ResourceDisplayControl.<>c__DisplayClass13_0::.ctor()
  • Shared.Data.ConstructionResourcesDataBase::GetConstructionResourceOrMissing(System.String)
  • Candide.CandideUI.Components.Displays.MaterialRequirementDisplay::.ctor()
  • Candide.CandideUI.CandideUiElement::set_GridColumn(System.Int32)
  • Candide.CandideUI.CandideUiElement::set_GridRow(System.Int32)
  • Candide.CandideUI.CandideThickness::.ctor(System.Int32)
  • Candide.CandideUI.CandideUiElement::set_Margin(Candide.CandideUI.CandideThickness)
  • ResourceDisplayControl.<>c::<DisplaysChanged>b__13_1()
  • System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>::.ctor(System.Object, System.IntPtr)
  • Candide.CandideUI.Components.Holder.CandideHolderBase::set_GetPreferredTooltipGrowthDirection(System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>)
  • System.Nullable<System.Int32>::.ctor(!0)
  • Candide.CandideUI.CandideUiElement::set_Width(System.Nullable<System.Int32>)
  • Candide.CandideUI.Components.CandideIcon::set_Icon(System.String)
  • ResourceDisplayControl.<>c__DisplayClass13_0::<DisplaysChanged>b__0()
  • System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>::.ctor(System.Object, System.IntPtr)
  • Candide.CandideUI.Components.Holder.CandideHolderBase::set_GetTooltipContent(System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>)
  • System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::Add(!0, !1)
  • Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)
  • Candide.CandideUI.CandideUiElement::InvalidateMeasure()

ResetErrorMessage

public System.Void ResetErrorMessage()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash96CF753D4DD5A0D6AA69AB40997AF237B8BD08B603DEF755C57943645EDDBE42
  • Body hash118B297097FA560F1556A9AADF1C52F637996880B1127BD7766378D9361E7652
  • IL size13
Referenced calls
  • Candide.CandideUI.Components.CandideErrorTextWrapper::set_ShowingError(System.Boolean)