TinyLifeWeb/docs/api/TinyLife.Skills.FoodType.GetPriceDelegate.yml
2023-12-06 13:25:52 +01:00

262 lines
7.6 KiB
YAML

### 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
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPriceDelegate
path: ../TinyLife/Skills/FoodType.cs
startLine: 518
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: "\nA delegate method used for <xref href=\"TinyLife.Skills.FoodType.OnGetPrice\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public delegate void FoodType.GetPriceDelegate(FoodType type, Person person, int servingSize, float markup, ref float originalPrice, ref float? modifiedPrice)
parameters:
- id: type
type: TinyLife.Skills.FoodType
- id: person
type: TinyLife.Objects.Person
- id: servingSize
type: System.Int32
- id: markup
type: System.Single
- id: originalPrice
type: System.Single
- id: modifiedPrice
type: System.Nullable{System.Single}
content.vb: Public Delegate Sub FoodType.GetPriceDelegate(type As FoodType, person As Person, servingSize As Integer, markup As Single, originalPrice As Single, modifiedPrice As Single?)
extensionMethods:
- TinyLife.Skills.FoodType.GetPriceDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references:
- uid: TinyLife.Skills.FoodType.OnGetPrice
commentId: E:TinyLife.Skills.FoodType.OnGetPrice
name: OnGetPrice
nameWithType: FoodType.OnGetPrice
fullName: TinyLife.Skills.FoodType.OnGetPrice
- uid: TinyLife.Skills
commentId: N:TinyLife.Skills
name: TinyLife.Skills
nameWithType: TinyLife.Skills
fullName: TinyLife.Skills
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Skills
name: Skills
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Skills
name: Skills
- 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)
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
- name: <
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
- name: '>'
- name: (
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Skills.FoodType.GetPriceDelegate)
name: JsonCopy
- name: (
- name: Of
- name: " "
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
- name: )
- name: (
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
- name: )
- uid: TinyLife.Skills.FoodType
commentId: T:TinyLife.Skills.FoodType
parent: TinyLife.Skills
name: FoodType
nameWithType: FoodType
fullName: TinyLife.Skills.FoodType
- uid: TinyLife.Objects.Person
commentId: T:TinyLife.Objects.Person
parent: TinyLife.Objects
name: Person
nameWithType: Person
fullName: TinyLife.Objects.Person
- 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)
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
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Objects
name: Objects
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Objects
name: Objects
- 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
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities
spec.vb:
- uid: TinyLife
name: TinyLife
- name: .
- uid: TinyLife.Utilities
name: Utilities