mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-14 10:09:09 +01:00
108 lines
2.7 KiB
YAML
108 lines
2.7 KiB
YAML
|
### YamlMime:ManagedReference
|
||
|
items:
|
||
|
- uid: MLEM.Input.TextInput.Rule
|
||
|
commentId: T:MLEM.Input.TextInput.Rule
|
||
|
id: TextInput.Rule
|
||
|
parent: MLEM.Input
|
||
|
children: []
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: TextInput.Rule
|
||
|
nameWithType: TextInput.Rule
|
||
|
fullName: MLEM.Input.TextInput.Rule
|
||
|
type: Delegate
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Input/TextInput.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Rule
|
||
|
path: ../MLEM/Input/TextInput.cs
|
||
|
startLine: 642
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Input
|
||
|
summary: >-
|
||
|
A delegate method used for <xref href="MLEM.Input.TextInput.InputRule" data-throw-if-not-resolved="false"></xref>.
|
||
|
|
||
|
It should return whether the given text can be added to the text input.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public delegate bool TextInput.Rule(TextInput input, string textToAdd)
|
||
|
parameters:
|
||
|
- id: input
|
||
|
type: MLEM.Input.TextInput
|
||
|
description: The text input
|
||
|
- id: textToAdd
|
||
|
type: System.String
|
||
|
description: The text that is tried to be added
|
||
|
return:
|
||
|
type: System.Boolean
|
||
|
content.vb: Public Delegate Function TextInput.Rule(input As TextInput, textToAdd As String) As Boolean
|
||
|
references:
|
||
|
- uid: MLEM.Input.TextInput.InputRule
|
||
|
commentId: F:MLEM.Input.TextInput.InputRule
|
||
|
href: MLEM.Input.TextInput.html#MLEM_Input_TextInput_InputRule
|
||
|
name: InputRule
|
||
|
nameWithType: TextInput.InputRule
|
||
|
fullName: MLEM.Input.TextInput.InputRule
|
||
|
- uid: MLEM.Input
|
||
|
commentId: N:MLEM.Input
|
||
|
href: MLEM.html
|
||
|
name: MLEM.Input
|
||
|
nameWithType: MLEM.Input
|
||
|
fullName: MLEM.Input
|
||
|
spec.csharp:
|
||
|
- uid: MLEM
|
||
|
name: MLEM
|
||
|
href: MLEM.html
|
||
|
- name: .
|
||
|
- uid: MLEM.Input
|
||
|
name: Input
|
||
|
href: MLEM.Input.html
|
||
|
spec.vb:
|
||
|
- uid: MLEM
|
||
|
name: MLEM
|
||
|
href: MLEM.html
|
||
|
- name: .
|
||
|
- uid: MLEM.Input
|
||
|
name: Input
|
||
|
href: MLEM.Input.html
|
||
|
- uid: MLEM.Input.TextInput
|
||
|
commentId: T:MLEM.Input.TextInput
|
||
|
parent: MLEM.Input
|
||
|
href: MLEM.Input.TextInput.html
|
||
|
name: TextInput
|
||
|
nameWithType: TextInput
|
||
|
fullName: MLEM.Input.TextInput
|
||
|
- uid: System.String
|
||
|
commentId: T:System.String
|
||
|
parent: System
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.string
|
||
|
name: string
|
||
|
nameWithType: string
|
||
|
fullName: string
|
||
|
nameWithType.vb: String
|
||
|
fullName.vb: String
|
||
|
name.vb: String
|
||
|
- 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: System
|
||
|
commentId: N:System
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system
|
||
|
name: System
|
||
|
nameWithType: System
|
||
|
fullName: System
|