Romestead Assembly Reference

Candide.CandideUI.UserControls.ResourceRequirementsControl

Type JSON

public class in Candide.CandideUI.UserControls

Methods5
Properties4
Fields8
Events1
Type metadata

Relationships

Fields

NameVisibilitySignature
RequirementsMetChangedprivateprivate ResourceRequirementsControl.RequirementsMetChangedEvent RequirementsMetChanged
_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
_requirementsMetprivateprivate System.Boolean _requirementsMet
_resourceRequirementprivateprivate Shared.Models.Construction.ConstructionMaterialsAggregate _resourceRequirement

Properties

NameVisibilitySignature
AvailableResourcespublicpublic Shared.Models.Construction.ConstructionMaterialsAggregate AvailableResources
ColumnCountpublicpublic System.Int32 ColumnCount
RequirementsMetpublicpublic System.Boolean RequirementsMet
ResourceRequirementpublicpublic Shared.Models.Construction.ConstructionMaterialsAggregate ResourceRequirement

Events

NameVisibilitySignature
RequirementsMetChangedpublicpublic ResourceRequirementsControl.RequirementsMetChangedEvent RequirementsMetChanged

Methods

AvailableResourcesChanged

private System.Void AvailableResourcesChanged()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashA81EE1002F232DF1B379C3DA12C5B8DF2C182F34B795ED80A7E6A468D2F42998
  • Body hash431757EA837F55CDE84C83E34CCB3C6BC2EB4DA6DC6FEFE0770CD02DE36A85D2
  • IL size322
Referenced calls
  • CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)
  • Candide.CandideUI.UserControls.ResourceRequirementsControl::set_RequirementsMet(System.Boolean)
  • 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()
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Item(!0)
  • System.Collections.Generic.KeyValuePair<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::get_Value()
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • Candide.CandideUI.Components.CandideTextLabel::set_Text(System.String)
  • Shared.Models.Construction.ConstructionMaterialsAggregate::GetAmountForResource(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • Dictionary.Enumerator<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::MoveNext()
  • System.IDisposable::Dispose()
String literals
  • ResourceRequirementsControl: ResourceRequirement is not set.
  • /

DisplayErrorMessage

public System.Void DisplayErrorMessage(System.String message)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash381DCD0DE134E92EE6E38117D6F7AE12FF8E9028D29DA577C02A415231B30526
  • Body hashB77E8F1B242D3CC6C8E3E85A7FF22556FA1AC30C88B63F357BF1048B0ADD31AD
  • IL size13
Referenced calls

ResetErrorMessage

public System.Void ResetErrorMessage()

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

ResourceRequirementChanged

private System.Void ResourceRequirementChanged()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash87A6A6EE4C46FD16929E875734F7364666725C6D2FC51E4DC453F33E72CD9DBC
  • Body hash62470BFFB98D3A12B1093AF308AD8B74FCB53843276D1966F3EF4B9DFCD520EA
  • IL size307
Referenced calls
  • Candide.CandideUI.UserControls.ResourceRequirementsControl::get_ColumnCount()
  • Candide.CandideUI.Containers.CandideGrid::ClearChildren()
  • System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::Clear()
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()
  • Dictionary.Enumerator<System.String, System.Int32>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Value()
  • ResourceRequirementsControl.<>c__DisplayClass24_0::.ctor()
  • 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)
  • ResourceRequirementsControl.<>c::<ResourceRequirementChanged>b__24_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.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Key()
  • Shared.Data.ConstructionResourcesDataBase::GetConstructionResourceOrMissing(System.String)
  • Candide.CandideUI.Components.CandideIcon::set_Icon(System.String)
  • ResourceRequirementsControl.<>c__DisplayClass24_0::<ResourceRequirementChanged>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)
  • Dictionary.Enumerator<System.String, System.Int32>::MoveNext()
  • System.IDisposable::Dispose()
  • Candide.CandideUI.CandideUiElement::InvalidateMeasure()