TinyLifeWeb/docs/api/TinyLife.Skills.FoodType.FoodRestriction.yml
2024-04-14 17:55:54 +02:00

527 lines
19 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: TinyLife.Skills.FoodType.FoodRestriction
commentId: T:TinyLife.Skills.FoodType.FoodRestriction
id: FoodType.FoodRestriction
parent: TinyLife.Skills
children:
- TinyLife.Skills.FoodType.FoodRestriction.None
- TinyLife.Skills.FoodType.FoodRestriction.NotForBabies
- TinyLife.Skills.FoodType.FoodRestriction.NotForChildren
- TinyLife.Skills.FoodType.FoodRestriction.NotForPregnancy
- TinyLife.Skills.FoodType.FoodRestriction.NotPescetarian
- TinyLife.Skills.FoodType.FoodRestriction.NotVegan
- TinyLife.Skills.FoodType.FoodRestriction.NotVegetarian
langs:
- csharp
- vb
name: FoodType.FoodRestriction
nameWithType: FoodType.FoodRestriction
fullName: TinyLife.Skills.FoodType.FoodRestriction
type: Enum
source:
remote:
path: TinyLife/Skills/FoodType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FoodRestriction
path: ../TinyLife/Skills/FoodType.cs
startLine: 722
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: >-
A flag enumeration that represents a set of food tolerance restrictions for a <xref href="TinyLife.Skills.FoodType" data-throw-if-not-resolved="false"></xref>, which determines what food can be eaten by a <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref> based on their <xref href="TinyLife.PersonalityType" data-throw-if-not-resolved="false"></xref> and other properties.
See <xref href="TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction%2cTinyLife.Objects.Person)" data-throw-if-not-resolved="false"></xref> to retrieve matching personalities.
example: []
syntax:
content: >-
[Flags]
public enum FoodType.FoodRestriction
content.vb: >-
<Flags>
Public Enum FoodType.FoodRestriction
extensionMethods:
- TinyLife.Skills.FoodType.FoodRestriction.TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Objects.Person)
- TinyLife.Skills.FoodType.FoodRestriction.TinyLife.Utilities.Extensions.JsonCopy``1
attributes:
- type: System.FlagsAttribute
ctor: System.FlagsAttribute.#ctor
arguments: []
- uid: TinyLife.Skills.FoodType.FoodRestriction.None
commentId: F:TinyLife.Skills.FoodType.FoodRestriction.None
id: None
parent: TinyLife.Skills.FoodType.FoodRestriction
langs:
- csharp
- vb
name: None
nameWithType: FoodType.FoodRestriction.None
fullName: TinyLife.Skills.FoodType.FoodRestriction.None
type: Field
source:
remote:
path: TinyLife/Skills/FoodType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: None
path: ../TinyLife/Skills/FoodType.cs
startLine: 728
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: No food restriction.
example: []
syntax:
content: None = 0
return:
type: TinyLife.Skills.FoodType.FoodRestriction
- uid: TinyLife.Skills.FoodType.FoodRestriction.NotVegan
commentId: F:TinyLife.Skills.FoodType.FoodRestriction.NotVegan
id: NotVegan
parent: TinyLife.Skills.FoodType.FoodRestriction
langs:
- csharp
- vb
name: NotVegan
nameWithType: FoodType.FoodRestriction.NotVegan
fullName: TinyLife.Skills.FoodType.FoodRestriction.NotVegan
type: Field
source:
remote:
path: TinyLife/Skills/FoodType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotVegan
path: ../TinyLife/Skills/FoodType.cs
startLine: 732
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: A food restriction representing a food item that is not vegan.
example: []
syntax:
content: NotVegan = 1
return:
type: TinyLife.Skills.FoodType.FoodRestriction
- uid: TinyLife.Skills.FoodType.FoodRestriction.NotVegetarian
commentId: F:TinyLife.Skills.FoodType.FoodRestriction.NotVegetarian
id: NotVegetarian
parent: TinyLife.Skills.FoodType.FoodRestriction
langs:
- csharp
- vb
name: NotVegetarian
nameWithType: FoodType.FoodRestriction.NotVegetarian
fullName: TinyLife.Skills.FoodType.FoodRestriction.NotVegetarian
type: Field
source:
remote:
path: TinyLife/Skills/FoodType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotVegetarian
path: ../TinyLife/Skills/FoodType.cs
startLine: 736
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: A food restriction representing a food item that is not vegetarian, which also includes the <xref href="TinyLife.Skills.FoodType.FoodRestriction.NotVegan" data-throw-if-not-resolved="false"></xref> flag.
example: []
syntax:
content: NotVegetarian = 3
return:
type: TinyLife.Skills.FoodType.FoodRestriction
- uid: TinyLife.Skills.FoodType.FoodRestriction.NotPescetarian
commentId: F:TinyLife.Skills.FoodType.FoodRestriction.NotPescetarian
id: NotPescetarian
parent: TinyLife.Skills.FoodType.FoodRestriction
langs:
- csharp
- vb
name: NotPescetarian
nameWithType: FoodType.FoodRestriction.NotPescetarian
fullName: TinyLife.Skills.FoodType.FoodRestriction.NotPescetarian
type: Field
source:
remote:
path: TinyLife/Skills/FoodType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotPescetarian
path: ../TinyLife/Skills/FoodType.cs
startLine: 740
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: A food restriction representing a food item that is not pescetarian, which also includes the <xref href="TinyLife.Skills.FoodType.FoodRestriction.NotVegetarian" data-throw-if-not-resolved="false"></xref> (and thus, <xref href="TinyLife.Skills.FoodType.FoodRestriction.NotVegan" data-throw-if-not-resolved="false"></xref>) flag.
example: []
syntax:
content: NotPescetarian = 7
return:
type: TinyLife.Skills.FoodType.FoodRestriction
- uid: TinyLife.Skills.FoodType.FoodRestriction.NotForBabies
commentId: F:TinyLife.Skills.FoodType.FoodRestriction.NotForBabies
id: NotForBabies
parent: TinyLife.Skills.FoodType.FoodRestriction
langs:
- csharp
- vb
name: NotForBabies
nameWithType: FoodType.FoodRestriction.NotForBabies
fullName: TinyLife.Skills.FoodType.FoodRestriction.NotForBabies
type: Field
source:
remote:
path: TinyLife/Skills/FoodType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotForBabies
path: ../TinyLife/Skills/FoodType.cs
startLine: 744
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: A food restriction representing a food that is not suitable for babies to eat.
example: []
syntax:
content: NotForBabies = 8
return:
type: TinyLife.Skills.FoodType.FoodRestriction
- uid: TinyLife.Skills.FoodType.FoodRestriction.NotForChildren
commentId: F:TinyLife.Skills.FoodType.FoodRestriction.NotForChildren
id: NotForChildren
parent: TinyLife.Skills.FoodType.FoodRestriction
langs:
- csharp
- vb
name: NotForChildren
nameWithType: FoodType.FoodRestriction.NotForChildren
fullName: TinyLife.Skills.FoodType.FoodRestriction.NotForChildren
type: Field
source:
remote:
path: TinyLife/Skills/FoodType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotForChildren
path: ../TinyLife/Skills/FoodType.cs
startLine: 748
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: A food restriction representing a food that is not suitable for children, or babies, to eat.
example: []
syntax:
content: NotForChildren = 24
return:
type: TinyLife.Skills.FoodType.FoodRestriction
- uid: TinyLife.Skills.FoodType.FoodRestriction.NotForPregnancy
commentId: F:TinyLife.Skills.FoodType.FoodRestriction.NotForPregnancy
id: NotForPregnancy
parent: TinyLife.Skills.FoodType.FoodRestriction
langs:
- csharp
- vb
name: NotForPregnancy
nameWithType: FoodType.FoodRestriction.NotForPregnancy
fullName: TinyLife.Skills.FoodType.FoodRestriction.NotForPregnancy
type: Field
source:
remote:
path: TinyLife/Skills/FoodType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: NotForPregnancy
path: ../TinyLife/Skills/FoodType.cs
startLine: 752
assemblies:
- Tiny Life
namespace: TinyLife.Skills
summary: A food restriction representing a food that is not suitable for pregnant people.
example: []
syntax:
content: NotForPregnancy = 32
return:
type: TinyLife.Skills.FoodType.FoodRestriction
references:
- 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: TinyLife.PersonalityType
commentId: T:TinyLife.PersonalityType
parent: TinyLife
href: TinyLife.PersonalityType.html
name: PersonalityType
nameWithType: PersonalityType
fullName: TinyLife.PersonalityType
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction,TinyLife.Objects.Person)
commentId: M:TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction,TinyLife.Objects.Person)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_GetPersonality_TinyLife_Skills_FoodType_FoodRestriction_TinyLife_Objects_Person_
name: GetPersonality(FoodRestriction, Person)
nameWithType: Extensions.GetPersonality(FoodType.FoodRestriction, Person)
fullName: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction, TinyLife.Objects.Person)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction,TinyLife.Objects.Person)
name: GetPersonality
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_GetPersonality_TinyLife_Skills_FoodType_FoodRestriction_TinyLife_Objects_Person_
- name: (
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
- name: ','
- name: " "
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction,TinyLife.Objects.Person)
name: GetPersonality
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_GetPersonality_TinyLife_Skills_FoodType_FoodRestriction_TinyLife_Objects_Person_
- name: (
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
- name: ','
- name: " "
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: )
- 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.FoodRestriction.TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Objects.Person)
commentId: M:TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction,TinyLife.Objects.Person)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction,TinyLife.Objects.Person)
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_GetPersonality_TinyLife_Skills_FoodType_FoodRestriction_TinyLife_Objects_Person_
name: GetPersonality(FoodRestriction, Person)
nameWithType: Extensions.GetPersonality(FoodType.FoodRestriction, Person)
fullName: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction, TinyLife.Objects.Person)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction,TinyLife.Objects.Person)
name: GetPersonality
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_GetPersonality_TinyLife_Skills_FoodType_FoodRestriction_TinyLife_Objects_Person_
- name: (
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
- name: ','
- name: " "
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.GetPersonality(TinyLife.Skills.FoodType.FoodRestriction,TinyLife.Objects.Person)
name: GetPersonality
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_GetPersonality_TinyLife_Skills_FoodType_FoodRestriction_TinyLife_Objects_Person_
- name: (
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
- name: ','
- name: " "
- uid: TinyLife.Objects.Person
name: Person
href: TinyLife.Objects.Person.html
- name: )
- uid: TinyLife.Skills.FoodType.FoodRestriction.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<FoodRestriction>(FoodRestriction)
nameWithType: Extensions.JsonCopy<FoodType.FoodRestriction>(FoodType.FoodRestriction)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Skills.FoodType.FoodRestriction>(TinyLife.Skills.FoodType.FoodRestriction)
nameWithType.vb: Extensions.JsonCopy(Of FoodType.FoodRestriction)(FoodType.FoodRestriction)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Skills.FoodType.FoodRestriction)(TinyLife.Skills.FoodType.FoodRestriction)
name.vb: JsonCopy(Of FoodRestriction)(FoodRestriction)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Skills.FoodType.FoodRestriction)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
- name: '>'
- name: (
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Skills.FoodType.FoodRestriction)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
- name: )
- name: (
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
- name: )
- 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: TinyLife
commentId: N:TinyLife
href: TinyLife.html
name: TinyLife
nameWithType: TinyLife
fullName: TinyLife
- 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.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
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
- uid: TinyLife.Skills.FoodType.FoodRestriction
commentId: T:TinyLife.Skills.FoodType.FoodRestriction
parent: TinyLife.Skills
href: TinyLife.Skills.FoodType.html
name: FoodType.FoodRestriction
nameWithType: FoodType.FoodRestriction
fullName: TinyLife.Skills.FoodType.FoodRestriction
spec.csharp:
- uid: TinyLife.Skills.FoodType
name: FoodType
href: TinyLife.Skills.FoodType.html
- name: .
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
spec.vb:
- uid: TinyLife.Skills.FoodType
name: FoodType
href: TinyLife.Skills.FoodType.html
- name: .
- uid: TinyLife.Skills.FoodType.FoodRestriction
name: FoodRestriction
href: TinyLife.Skills.FoodType.FoodRestriction.html
- uid: TinyLife.Skills.FoodType.FoodRestriction.NotVegan
commentId: F:TinyLife.Skills.FoodType.FoodRestriction.NotVegan
href: TinyLife.Skills.FoodType.FoodRestriction.html#TinyLife_Skills_FoodType_FoodRestriction_NotVegan
name: NotVegan
nameWithType: FoodType.FoodRestriction.NotVegan
fullName: TinyLife.Skills.FoodType.FoodRestriction.NotVegan
- uid: TinyLife.Skills.FoodType.FoodRestriction.NotVegetarian
commentId: F:TinyLife.Skills.FoodType.FoodRestriction.NotVegetarian
href: TinyLife.Skills.FoodType.FoodRestriction.html#TinyLife_Skills_FoodType_FoodRestriction_NotVegetarian
name: NotVegetarian
nameWithType: FoodType.FoodRestriction.NotVegetarian
fullName: TinyLife.Skills.FoodType.FoodRestriction.NotVegetarian