TinyLifeWeb/docs/api/TinyLife.Skills.FoodType.GetPriceDelegate.yml

292 lines
8.9 KiB
YAML
Raw Normal View History

2023-05-26 15:16:22 +02:00
### YamlMime:ManagedReference
items:
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
commentId: T:TinyLife.Skills.FoodType.GetPriceDelegate
id: FoodType.GetPriceDelegate
parent: TinyLife.Skills
children: []
langs:
- csharp
- vb
name: FoodType.GetPriceDelegate
nameWithType: FoodType.GetPriceDelegate
fullName: TinyLife.Skills.FoodType.GetPriceDelegate
type: Delegate
source:
remote:
path: TinyLife/Skills/FoodType.cs
2023-12-06 13:25:52 +01:00
branch: main
2023-05-26 15:16:22 +02:00
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPriceDelegate
path: ../TinyLife/Skills/FoodType.cs
2024-07-09 18:54:47 +02:00
startLine: 542
2023-05-26 15:16:22 +02:00
assemblies:
- Tiny Life
namespace: TinyLife.Skills
2024-01-07 16:53:47 +01:00
summary: A delegate method used for <xref href="TinyLife.Skills.FoodType.OnGetPrice" data-throw-if-not-resolved="false"></xref>.
2023-05-26 15:16:22 +02:00
example: []
syntax:
2024-06-09 17:05:30 +02:00
content: public delegate void FoodType.GetPriceDelegate(FoodType type, PersonLike person, int servingSize, float markup, ref float originalPrice, ref float? modifiedPrice)
2023-05-26 15:16:22 +02:00
parameters:
- id: type
type: TinyLife.Skills.FoodType
- id: person
2024-06-09 17:05:30 +02:00
type: TinyLife.Objects.PersonLike
2023-05-26 15:16:22 +02:00
- id: servingSize
type: System.Int32
- id: markup
type: System.Single
- id: originalPrice
type: System.Single
- id: modifiedPrice
type: System.Nullable{System.Single}
2024-06-09 17:05:30 +02:00
content.vb: Public Delegate Sub FoodType.GetPriceDelegate(type As FoodType, person As PersonLike, servingSize As Integer, markup As Single, originalPrice As Single, modifiedPrice As Single?)
2023-05-26 15:16:22 +02:00
extensionMethods:
- TinyLife.Skills.FoodType.GetPriceDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references:
- uid: TinyLife.Skills.FoodType.OnGetPrice
commentId: E:TinyLife.Skills.FoodType.OnGetPrice
2024-01-07 16:53:47 +01:00
href: TinyLife.Skills.FoodType.html#TinyLife_Skills_FoodType_OnGetPrice
2023-05-26 15:16:22 +02:00
name: OnGetPrice
nameWithType: FoodType.OnGetPrice
fullName: TinyLife.Skills.FoodType.OnGetPrice
- uid: TinyLife.Skills
commentId: N:TinyLife.Skills
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-05-26 15:16:22 +02:00
name: TinyLife.Skills
nameWithType: TinyLife.Skills
fullName: TinyLife.Skills
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-05-26 15:16:22 +02:00
- name: .
- uid: TinyLife.Skills
name: Skills
2024-01-07 16:53:47 +01:00
href: TinyLife.Skills.html
2023-05-26 15:16:22 +02:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-05-26 15:16:22 +02:00
- name: .
- uid: TinyLife.Skills
name: Skills
2024-01-07 16:53:47 +01:00
href: TinyLife.Skills.html
2023-05-26 15:16:22 +02:00
- uid: TinyLife.Skills.FoodType.GetPriceDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-05-26 15:16:22 +02:00
name: JsonCopy<GetPriceDelegate>(GetPriceDelegate)
nameWithType: Extensions.JsonCopy<FoodType.GetPriceDelegate>(FoodType.GetPriceDelegate)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Skills.FoodType.GetPriceDelegate>(TinyLife.Skills.FoodType.GetPriceDelegate)
nameWithType.vb: Extensions.JsonCopy(Of FoodType.GetPriceDelegate)(FoodType.GetPriceDelegate)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Skills.FoodType.GetPriceDelegate)(TinyLife.Skills.FoodType.GetPriceDelegate)
name.vb: JsonCopy(Of GetPriceDelegate)(GetPriceDelegate)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Skills.FoodType.GetPriceDelegate)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-05-26 15:16:22 +02:00
- name: <
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
2024-01-07 16:53:47 +01:00
href: TinyLife.Skills.FoodType.GetPriceDelegate.html
2023-05-26 15:16:22 +02:00
- name: '>'
- name: (
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
2024-01-07 16:53:47 +01:00
href: TinyLife.Skills.FoodType.GetPriceDelegate.html
2023-05-26 15:16:22 +02:00
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Skills.FoodType.GetPriceDelegate)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-05-26 15:16:22 +02:00
- name: (
- name: Of
- name: " "
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
2024-01-07 16:53:47 +01:00
href: TinyLife.Skills.FoodType.GetPriceDelegate.html
2023-05-26 15:16:22 +02:00
- name: )
- name: (
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
2024-01-07 16:53:47 +01:00
href: TinyLife.Skills.FoodType.GetPriceDelegate.html
2023-05-26 15:16:22 +02:00
- name: )
- uid: TinyLife.Skills.FoodType
commentId: T:TinyLife.Skills.FoodType
parent: TinyLife.Skills
2024-01-07 16:53:47 +01:00
href: TinyLife.Skills.FoodType.html
2023-05-26 15:16:22 +02:00
name: FoodType
nameWithType: FoodType
fullName: TinyLife.Skills.FoodType
2024-06-09 17:05:30 +02:00
- uid: TinyLife.Objects.PersonLike
commentId: T:TinyLife.Objects.PersonLike
2023-05-26 15:16:22 +02:00
parent: TinyLife.Objects
2024-06-09 17:05:30 +02:00
href: TinyLife.Objects.PersonLike.html
name: PersonLike
nameWithType: PersonLike
fullName: TinyLife.Objects.PersonLike
2023-05-26 15:16:22 +02:00
- uid: System.Int32
commentId: T:System.Int32
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.int32
name: int
nameWithType: int
fullName: int
nameWithType.vb: Integer
fullName.vb: Integer
name.vb: Integer
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
- uid: System.Nullable{System.Single}
commentId: T:System.Nullable{System.Single}
parent: System
definition: System.Nullable`1
href: https://learn.microsoft.com/dotnet/api/system.single
name: float?
nameWithType: float?
fullName: float?
nameWithType.vb: Single?
fullName.vb: Single?
name.vb: Single?
spec.csharp:
- uid: System.Single
name: float
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: '?'
spec.vb:
- uid: System.Single
name: Single
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: '?'
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-05-26 15:16:22 +02:00
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-05-26 15:16:22 +02:00
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-05-26 15:16:22 +02:00
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html
2023-05-26 15:16:22 +02:00
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-05-26 15:16:22 +02:00
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-05-26 15:16:22 +02:00
- name: .
- uid: TinyLife.Objects
name: Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.html
2023-05-26 15:16:22 +02:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-05-26 15:16:22 +02:00
- name: .
- uid: TinyLife.Objects
name: Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.html
2023-05-26 15:16:22 +02:00
- uid: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: System.Nullable`1
commentId: T:System.Nullable`1
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.nullable-1
name: Nullable<T>
nameWithType: Nullable<T>
fullName: System.Nullable<T>
nameWithType.vb: Nullable(Of T)
fullName.vb: System.Nullable(Of T)
name.vb: Nullable(Of T)
spec.csharp:
- uid: System.Nullable`1
name: Nullable
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.nullable-1
- name: <
- name: T
- name: '>'
spec.vb:
- uid: System.Nullable`1
name: Nullable
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.nullable-1
- name: (
- name: Of
- name: " "
- name: T
- name: )
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-05-26 15:16:22 +02:00
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-05-26 15:16:22 +02:00
- name: .
- uid: TinyLife.Utilities
name: Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.html
2023-05-26 15:16:22 +02:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-05-26 15:16:22 +02:00
- name: .
- uid: TinyLife.Utilities
name: Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.html