TinyLifeWeb/docs/api/TinyLife.Actions.ActionType.CanExecuteDelegate.yml
2024-01-07 16:53:47 +01:00

209 lines
7.3 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate
commentId: T:TinyLife.Actions.ActionType.CanExecuteDelegate
id: ActionType.CanExecuteDelegate
parent: TinyLife.Actions
children: []
langs:
- csharp
- vb
name: ActionType.CanExecuteDelegate
nameWithType: ActionType.CanExecuteDelegate
fullName: TinyLife.Actions.ActionType.CanExecuteDelegate
type: Delegate
source:
remote:
path: TinyLife/Actions/ActionType.cs
branch: main
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanExecuteDelegate
path: ../TinyLife/Actions/ActionType.cs
startLine: 153
assemblies:
- Tiny Life
namespace: TinyLife.Actions
summary: A delegate method used for <xref href="TinyLife.Actions.ActionType.TypeSettings.CanExecute" data-throw-if-not-resolved="false"></xref>
example: []
syntax:
content: public delegate CanExecuteResult ActionType.CanExecuteDelegate(ActionInfo info, bool automatic)
parameters:
- id: info
type: TinyLife.Actions.ActionInfo
description: The action info
- id: automatic
type: System.Boolean
description: Whether or not the action was started by a <xref href="TinyLife.Objects.PersonAi" data-throw-if-not-resolved="false"></xref> rather than manually
return:
type: TinyLife.Actions.CanExecuteResult
content.vb: Public Delegate Function ActionType.CanExecuteDelegate(info As ActionInfo, automatic As Boolean) As CanExecuteResult
extensionMethods:
- TinyLife.Actions.ActionType.CanExecuteDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references:
- uid: TinyLife.Actions.ActionType.TypeSettings.CanExecute
commentId: F:TinyLife.Actions.ActionType.TypeSettings.CanExecute
href: TinyLife.Actions.ActionType.TypeSettings.html#TinyLife_Actions_ActionType_TypeSettings_CanExecute
name: CanExecute
nameWithType: ActionType.TypeSettings.CanExecute
fullName: TinyLife.Actions.ActionType.TypeSettings.CanExecute
- uid: TinyLife.Objects.PersonAi
commentId: T:TinyLife.Objects.PersonAi
href: TinyLife.Objects.PersonAi.html
name: PersonAi
nameWithType: PersonAi
fullName: TinyLife.Objects.PersonAi
- uid: TinyLife.Actions
commentId: N:TinyLife.Actions
href: TinyLife.html
name: TinyLife.Actions
nameWithType: TinyLife.Actions
fullName: TinyLife.Actions
spec.csharp:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Actions
name: Actions
href: TinyLife.Actions.html
spec.vb:
- uid: TinyLife
name: TinyLife
href: TinyLife.html
- name: .
- uid: TinyLife.Actions
name: Actions
href: TinyLife.Actions.html
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate.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<CanExecuteDelegate>(CanExecuteDelegate)
nameWithType: Extensions.JsonCopy<ActionType.CanExecuteDelegate>(ActionType.CanExecuteDelegate)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Actions.ActionType.CanExecuteDelegate>(TinyLife.Actions.ActionType.CanExecuteDelegate)
nameWithType.vb: Extensions.JsonCopy(Of ActionType.CanExecuteDelegate)(ActionType.CanExecuteDelegate)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Actions.ActionType.CanExecuteDelegate)(TinyLife.Actions.ActionType.CanExecuteDelegate)
name.vb: JsonCopy(Of CanExecuteDelegate)(CanExecuteDelegate)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Actions.ActionType.CanExecuteDelegate)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate
name: CanExecuteDelegate
href: TinyLife.Actions.ActionType.CanExecuteDelegate.html
- name: '>'
- name: (
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate
name: CanExecuteDelegate
href: TinyLife.Actions.ActionType.CanExecuteDelegate.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Actions.ActionType.CanExecuteDelegate)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate
name: CanExecuteDelegate
href: TinyLife.Actions.ActionType.CanExecuteDelegate.html
- name: )
- name: (
- uid: TinyLife.Actions.ActionType.CanExecuteDelegate
name: CanExecuteDelegate
href: TinyLife.Actions.ActionType.CanExecuteDelegate.html
- name: )
- uid: TinyLife.Actions.ActionInfo
commentId: T:TinyLife.Actions.ActionInfo
parent: TinyLife.Actions
href: TinyLife.Actions.ActionInfo.html
name: ActionInfo
nameWithType: ActionInfo
fullName: TinyLife.Actions.ActionInfo
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
- uid: TinyLife.Actions.CanExecuteResult
commentId: T:TinyLife.Actions.CanExecuteResult
parent: TinyLife.Actions
href: TinyLife.Actions.CanExecuteResult.html
name: CanExecuteResult
nameWithType: CanExecuteResult
fullName: TinyLife.Actions.CanExecuteResult
- 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: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- 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