TinyLifeWeb/docs/api/TinyLife.Skills.FoodType.GetPriceDelegate.yml
2024-03-09 19:49:55 +01:00

292 lines
8.9 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: 525
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: A delegate method used for <xref href="TinyLife.Skills.FoodType.OnGetPrice" data-throw-if-not-resolved="false"></xref>.
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
href: TinyLife.Skills.FoodType.html#TinyLife_Skills_FoodType_OnGetPrice
name: OnGetPrice
nameWithType: FoodType.OnGetPrice
fullName: TinyLife.Skills.FoodType.OnGetPrice
- uid: TinyLife.Skills
commentId: N:TinyLife.Skills
href: TinyLife.html
name: TinyLife.Skills
nameWithType: TinyLife.Skills
fullName: TinyLife.Skills
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Skills
name: Skills
href: TinyLife.Skills.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Skills
name: Skills
href: TinyLife.Skills.html
- 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)
href: TinyLife.Utilities.Extensions.html#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
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
href: TinyLife.Skills.FoodType.GetPriceDelegate.html
- name: '>'
- name: (
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
href: TinyLife.Skills.FoodType.GetPriceDelegate.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Skills.FoodType.GetPriceDelegate)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
href: TinyLife.Skills.FoodType.GetPriceDelegate.html
- name: )
- name: (
- uid: TinyLife.Skills.FoodType.GetPriceDelegate
name: GetPriceDelegate
href: TinyLife.Skills.FoodType.GetPriceDelegate.html
- name: )
- uid: TinyLife.Skills.FoodType
commentId: T:TinyLife.Skills.FoodType
parent: TinyLife.Skills
href: TinyLife.Skills.FoodType.html
name: FoodType
nameWithType: FoodType
fullName: TinyLife.Skills.FoodType
- uid: TinyLife.Objects.Person
commentId: T:TinyLife.Objects.Person
parent: TinyLife.Objects
href: TinyLife.Objects.Person.html
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)
href: TinyLife.Utilities.Extensions.html#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
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- name: T
- name: '>'
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- name: T
- name: )
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
href: TinyLife.Utilities.Extensions.html
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
href: TinyLife.html
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Objects
name: Objects
href: TinyLife.Objects.html
- 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
href: TinyLife.html
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Utilities
name: Utilities
href: TinyLife.Utilities.html