{"Id":"CandideServer.Helpers.BucketEntityHelper","Name":"BucketEntityHelper","DisplayName":"BucketEntityHelper","FullName":"CandideServer.Helpers.BucketEntityHelper","Namespace":"CandideServer.Helpers","Kind":"class","Visibility":"public","IsAbstract":true,"IsSealed":true,"BaseType":"System.Object","Interfaces":[],"SourceLocations":[],"Fields":[],"Properties":[],"Events":[],"Methods":[{"Id":"CreateBucketMaterialAggregateFromEntityParamters(CandideServer.Entities.ServerEntityModel)-\u003ESystem.Void","Name":"CreateBucketMaterialAggregateFromEntityParamters","Signature":"public System.Void CreateBucketMaterialAggregateFromEntityParamters(CandideServer.Entities.ServerEntityModel bucketEntity)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"bucketEntity","Type":"CandideServer.Entities.ServerEntityModel","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":105,"BodyHash":"FC5C511D033AA19E8E2685DEAA97224EF6A73B645697496FD35570B08AECCF5B","Hash":"EE9D6FFADADF34B2AA6ECF8A5931B05186DCEABBB2F5DA7563AFA3BDE9089A72","CalledMethods":["Shared.Helpers.BucketEntityHelperShared::get_GetNewDefaultConstructionMaterials()","System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E::TryGetValue(!0, !1\u0026)","System.String::IsNullOrWhiteSpace(System.String)","System.Int32::Parse(System.String)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)"],"StringLiterals":["bucket_content_resource_id","bucket_content_amount"],"Source":null},{"Id":"IsBucketEmpty(System.Collections.Generic.Dictionary\u00602\u003CSystem.String,System.String\u003E)-\u003ESystem.Boolean","Name":"IsBucketEmpty","Signature":"public System.Boolean IsBucketEmpty(System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E entityParameters)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"entityParameters","Type":"System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":34,"BodyHash":"188796C83AB68B17B0A1A55EB75912398C73469A23A3CBA3544A089DA3743DF2","Hash":"86176BF7241D1E14ED1B7AE29F3CADDEB36AA2B9C58CF3CCED104285F63E0A16","CalledMethods":["System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E::TryGetValue(!0, !1\u0026)","System.String::op_Equality(System.String, System.String)"],"StringLiterals":["bucket_content_type","Empty"],"Source":null},{"Id":"SetEmpty(System.Collections.Generic.Dictionary\u00602\u003CSystem.String,System.String\u003E\u0026, Shared.Models.Construction.ConstructionMaterialsAggregate\u0026)-\u003ESystem.Void","Name":"SetEmpty","Signature":"public System.Void SetEmpty(System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E\u0026 parametersRef, Shared.Models.Construction.ConstructionMaterialsAggregate\u0026 constructionMaterials)","Visibility":"public","ReturnType":"System.Void","Parameters":[{"Name":"parametersRef","Type":"System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E\u0026","IsOut":false,"IsOptional":false},{"Name":"constructionMaterials","Type":"Shared.Models.Construction.ConstructionMaterialsAggregate\u0026","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":64,"BodyHash":"6482D99F900EA791FF44FCE0A625AEB46244D7CC24D6D05CD26548CFDF035E63","Hash":"631F13D2E8D7D6014ABC3147F6F7ABCD567026E7D00CBADC1215BA62E0F09F04","CalledMethods":["System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E::set_Item(!0, !1)","Shared.Models.Construction.ConstructionMaterialsAggregate::EmptyAllExcept(System.String)"],"StringLiterals":["bucket_content_type","Empty","bucket_content_resource_id","bucket_content_amount","0","resource:bucket"],"Source":null},{"Id":"TryGetBucketContentFromEntity(CandideServer.Entities.ServerEntityModel, Shared.Models.Construction.ConstructionMaterialsAggregate\u0026)-\u003ESystem.Boolean","Name":"TryGetBucketContentFromEntity","Signature":"public System.Boolean TryGetBucketContentFromEntity(CandideServer.Entities.ServerEntityModel bucketEntity, out Shared.Models.Construction.ConstructionMaterialsAggregate\u0026 contentAggregate)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"bucketEntity","Type":"CandideServer.Entities.ServerEntityModel","IsOut":false,"IsOptional":false},{"Name":"contentAggregate","Type":"Shared.Models.Construction.ConstructionMaterialsAggregate\u0026","IsOut":true,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":254,"BodyHash":"D635A80BF264D2FADA502CE9CA0A773A43D049278B5275EAC9B68CF5C7C2C5F5","Hash":"911A5D9424B86F8B558A3E0AC8CDC3A367BA95A02718C0743ECDD78FB4B10F9B","CalledMethods":["System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E::TryGetValue(!0, !1\u0026)","System.String::IsNullOrWhiteSpace(System.String)","System.Int32::Parse(System.String)","Shared.Models.Construction.ConstructionMaterialsAggregate::.ctor()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::.ctor()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::Add(!0, !1)","Shared.Models.Construction.ConstructionMaterialsAggregate::GetAmountForResource(System.String)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::GetEnumerator()","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::get_Current()","System.Collections.Generic.KeyValuePair\u003CSystem.String, System.Int32\u003E::get_Key()","System.String::op_Inequality(System.String, System.String)","System.Collections.Generic.KeyValuePair\u003CSystem.String, System.Int32\u003E::get_Value()","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::MoveNext()","System.IDisposable::Dispose()"],"StringLiterals":["bucket_content_resource_id","bucket_content_amount","resource:bucket"],"Source":null},{"Id":"TryGetBucketContentFromEntity(CandideServer.Entities.ServerEntityModel, System.String\u0026, System.Int32\u0026)-\u003ESystem.Boolean","Name":"TryGetBucketContentFromEntity","Signature":"public System.Boolean TryGetBucketContentFromEntity(CandideServer.Entities.ServerEntityModel bucketEntity, out System.String\u0026 contentResourceId, out System.Int32\u0026 resourceAmount)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"bucketEntity","Type":"CandideServer.Entities.ServerEntityModel","IsOut":false,"IsOptional":false},{"Name":"contentResourceId","Type":"System.String\u0026","IsOut":true,"IsOptional":false},{"Name":"resourceAmount","Type":"System.Int32\u0026","IsOut":true,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":231,"BodyHash":"1D2FDAB8B249B93CB365570AAC1310BBD1777D717486F8BF7E8D8CADCFB4F4A4","Hash":"D5EA469A9C64A4FFFCE090A9B2627205FFFD73B0597E47EA667C85A17E3EA606","CalledMethods":["System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E::TryGetValue(!0, !1\u0026)","System.String::IsNullOrWhiteSpace(System.String)","System.Int32::Parse(System.String)","Shared.Models.Construction.ConstructionMaterialsAggregate::GetAmountForResource(System.String)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::GetEnumerator()","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::get_Current()","System.Collections.Generic.KeyValuePair\u003CSystem.String, System.Int32\u003E::get_Key()","System.String::op_Equality(System.String, System.String)","System.Collections.Generic.KeyValuePair\u003CSystem.String, System.Int32\u003E::get_Value()","Dictionary.Enumerator\u003CSystem.String, System.Int32\u003E::MoveNext()","System.IDisposable::Dispose()"],"StringLiterals":["bucket_content_resource_id","bucket_content_amount","resource:bucket"],"Source":null},{"Id":"TrySetBucketParameters(System.Collections.Generic.Dictionary\u00602\u003CSystem.String,System.String\u003E\u0026, Shared.Models.Construction.ConstructionMaterialsAggregate\u0026, BucketEntityHelperShared\u002BBucketContentType, System.String, System.Int32)-\u003ESystem.Boolean","Name":"TrySetBucketParameters","Signature":"public System.Boolean TrySetBucketParameters(System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E\u0026 parametersRef, Shared.Models.Construction.ConstructionMaterialsAggregate\u0026 constructionMaterials, BucketEntityHelperShared.BucketContentType type, System.String resourceId, System.Int32 amount)","Visibility":"public","ReturnType":"System.Boolean","Parameters":[{"Name":"parametersRef","Type":"System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E\u0026","IsOut":false,"IsOptional":false},{"Name":"constructionMaterials","Type":"Shared.Models.Construction.ConstructionMaterialsAggregate\u0026","IsOut":false,"IsOptional":false},{"Name":"type","Type":"BucketEntityHelperShared.BucketContentType","IsOut":false,"IsOptional":false},{"Name":"resourceId","Type":"System.String","IsOut":false,"IsOptional":false},{"Name":"amount","Type":"System.Int32","IsOut":false,"IsOptional":false}],"IsStatic":true,"IsAbstract":false,"IsVirtual":false,"IsConstructor":false,"GenericArity":0,"IlSize":312,"BodyHash":"C76C6DDA56681F7D63A25F1C5E763FF4CBA6C2C62C2CBDEAACB4AEEA02D9F735","Hash":"E6E19B172354672B9A8A919801036557DA2FB357AFBAB61C86BED93F8460F510","CalledMethods":["CandideServer.Helpers.BucketEntityHelper::SetEmpty(System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E\u0026, Shared.Models.Construction.ConstructionMaterialsAggregate\u0026)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)","System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()","CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)","Shared.Data.ConstructionResourcesDataBase::GetConstructionResourceOrNull(System.String)","System.Nullable\u003CShared.Models.Construction.ConstructionResourceDataModel\u003E::get_HasValue()","System.Object::ToString()","System.Collections.Generic.Dictionary\u003CSystem.String, System.String\u003E::set_Item(!0, !1)","System.Int32::ToString()","Shared.Models.Construction.ConstructionMaterialsAggregate::EmptyAllExcept(System.String)","System.Collections.Generic.Dictionary\u003CSystem.String, System.Int32\u003E::set_Item(!0, !1)","System.ArgumentOutOfRangeException::.ctor(System.String, System.Object, System.String)"],"StringLiterals":["TrySetBucketParameters",": Received BucketContentType "," but no resource ID was given. Defaulting to "," but could not find the resource ID in the database. Defaulting to ","bucket_content_type","bucket_content_resource_id","bucket_content_amount","resource:bucket","type"],"Source":null}],"Hash":"7D8CD26A36DE06ED00AA9CCA8141E8152B3C48C5E0543894F557921C10AA9447"}