Candide.CandideUI.UserControls.ResourceDisplayControl
Type JSONpublic class in Candide.CandideUI.UserControls
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.UserControls - Base type
Candide.CandideUI.CandideUiContainerSingleItem - Hash
DF158959C0CD43A6254FD5B2AF0462AD602591E71DCF898E8A7AA3AA42EE5AAA
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
_availableResources# | private | private Shared.Models.Construction.ConstructionMaterialsAggregate _availableResources |
_columnCount# | private | private System.Int32 _columnCount |
_displays# | private | private System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay> _displays |
_errorTextWrapper# | private | private Candide.CandideUI.Components.CandideErrorTextWrapper _errorTextWrapper |
_grid# | private | private Candide.CandideUI.Containers.CandideGrid _grid |
_visibleResources# | private | private System.String[] _visibleResources |
Properties
| Name | Visibility | Signature |
|---|---|---|
AvailableResources# | public | public Shared.Models.Construction.ConstructionMaterialsAggregate AvailableResources |
ColumnCount# | public | public System.Int32 ColumnCount |
Methods
AvailableResourcesChanged
#
private System.Void AvailableResourcesChanged()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
04DD735CDB7DD40663061A21C047431004E553EB86A8E60C81CBA0B9C93ACFE0 - Body hash
1D0B11FBBB18D8B69965C66D41CEE19F053540DCF4F3C737C7574E6331F8424A - 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 type
System.Void - StaticFalse
- VirtualFalse
- Hash
CEAA4EC35085678962A2EC13AAD3912941BD53DC28551CF173B7B5D31DC3C62C - Body hash
D606299BF68E097D763E1BB4BFFA9C864F364300D62F1F4F7F8B4E493AB45844 - IL size13
DisplaysChanged
#
private System.Void DisplaysChanged()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
1011F47375C65574BAECB1FB6B5353EA419D15A4DD148A37DC0474763C8EDCFB - Body hash
51149D9DA3E2EEC72E7E83F534C2C70557CA514647F0EDF8C898E97BD35C5764 - 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()
InternalDraw
#
protected System.Void InternalDraw(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2158DAB98E67DBC417874C6BA143363332848447FA08C1EFD04EAB766245180C - Body hash
913FB59CC96E92493AF2651959D74757982CE3BA1D3193D3423829246FDFCF26 - IL size18
ResetErrorMessage
#
public System.Void ResetErrorMessage()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
96CF753D4DD5A0D6AA69AB40997AF237B8BD08B603DEF755C57943645EDDBE42 - Body hash
118B297097FA560F1556A9AADF1C52F637996880B1127BD7766378D9361E7652 - IL size13
Referenced calls
Candide.CandideUI.Components.CandideErrorTextWrapper::set_ShowingError(System.Boolean)