1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-14 10:09:09 +01:00
MLEM/Docs/api/MLEM.Misc.EnumHelper.yml

616 lines
16 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: MLEM.Misc.EnumHelper
commentId: T:MLEM.Misc.EnumHelper
id: EnumHelper
parent: MLEM.Misc
children:
- MLEM.Misc.EnumHelper.Buttons
- MLEM.Misc.EnumHelper.GetValues``1
- MLEM.Misc.EnumHelper.Keys
langs:
- csharp
- vb
name: EnumHelper
nameWithType: EnumHelper
fullName: MLEM.Misc.EnumHelper
type: Class
source:
remote:
path: MLEM/Misc/EnumHelper.cs
branch: master
repo: https://github.com/Ellpeck/MLEM
id: EnumHelper
path: ../MLEM/Misc/EnumHelper.cs
startLine: 9
assemblies:
- MLEM
namespace: MLEM.Misc
summary: "\nA helper class that allows easier usage of <xref href=\"System.Enum\" data-throw-if-not-resolved=\"false\"></xref> values.\n"
example: []
syntax:
content: public static class EnumHelper
content.vb: Public Module EnumHelper
inheritance:
- System.Object
inheritedMembers:
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
modifiers.csharp:
- public
- static
- class
modifiers.vb:
- Public
- Module
- uid: MLEM.Misc.EnumHelper.Buttons
commentId: F:MLEM.Misc.EnumHelper.Buttons
id: Buttons
parent: MLEM.Misc.EnumHelper
langs:
- csharp
- vb
name: Buttons
nameWithType: EnumHelper.Buttons
fullName: MLEM.Misc.EnumHelper.Buttons
type: Field
source:
remote:
path: MLEM/Misc/EnumHelper.cs
branch: master
repo: https://github.com/Ellpeck/MLEM
id: Buttons
path: ../MLEM/Misc/EnumHelper.cs
startLine: 14
assemblies:
- MLEM
namespace: MLEM.Misc
summary: "\nAll values of the <xref href=\"MLEM.Misc.EnumHelper.Buttons\" data-throw-if-not-resolved=\"false\"></xref> enum.\n"
example: []
syntax:
content: public static readonly Buttons[] Buttons
return:
type: Microsoft.Xna.Framework.Input.Buttons[]
content.vb: Public Shared ReadOnly Buttons As Buttons()
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: MLEM.Misc.EnumHelper.Keys
commentId: F:MLEM.Misc.EnumHelper.Keys
id: Keys
parent: MLEM.Misc.EnumHelper
langs:
- csharp
- vb
name: Keys
nameWithType: EnumHelper.Keys
fullName: MLEM.Misc.EnumHelper.Keys
type: Field
source:
remote:
path: MLEM/Misc/EnumHelper.cs
branch: master
repo: https://github.com/Ellpeck/MLEM
id: Keys
path: ../MLEM/Misc/EnumHelper.cs
startLine: 18
assemblies:
- MLEM
namespace: MLEM.Misc
summary: "\nAll values of the <xref href=\"MLEM.Misc.EnumHelper.Keys\" data-throw-if-not-resolved=\"false\"></xref> enum.\n"
example: []
syntax:
content: public static readonly Keys[] Keys
return:
type: Microsoft.Xna.Framework.Input.Keys[]
content.vb: Public Shared ReadOnly Keys As Keys()
modifiers.csharp:
- public
- static
- readonly
modifiers.vb:
- Public
- Shared
- ReadOnly
- uid: MLEM.Misc.EnumHelper.GetValues``1
commentId: M:MLEM.Misc.EnumHelper.GetValues``1
id: GetValues``1
parent: MLEM.Misc.EnumHelper
langs:
- csharp
- vb
name: GetValues<T>()
nameWithType: EnumHelper.GetValues<T>()
fullName: MLEM.Misc.EnumHelper.GetValues<T>()
type: Method
source:
remote:
path: MLEM/Misc/EnumHelper.cs
branch: master
repo: https://github.com/Ellpeck/MLEM
id: GetValues
path: ../MLEM/Misc/EnumHelper.cs
startLine: 25
assemblies:
- MLEM
namespace: MLEM.Misc
summary: "\nReturns all of the values of the given enum type.\n"
example: []
syntax:
content: public static IEnumerable<T> GetValues<T>()
typeParameters:
- id: T
description: The type whose enum to get
return:
type: System.Collections.Generic.IEnumerable{{T}}
description: An enumerable of the values of the enum, in declaration order.
content.vb: Public Shared Function GetValues(Of T) As IEnumerable(Of T)
overload: MLEM.Misc.EnumHelper.GetValues*
nameWithType.vb: EnumHelper.GetValues(Of T)()
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
fullName.vb: MLEM.Misc.EnumHelper.GetValues(Of T)()
name.vb: GetValues(Of T)()
references:
- uid: System.Enum
commentId: T:System.Enum
isExternal: true
- uid: MLEM.Misc
commentId: N:MLEM.Misc
name: MLEM.Misc
nameWithType: MLEM.Misc
fullName: MLEM.Misc
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
name: Object
nameWithType: Object
fullName: System.Object
- uid: System.Object.Equals(System.Object)
commentId: M:System.Object.Equals(System.Object)
parent: System.Object
isExternal: true
name: Equals(Object)
nameWithType: Object.Equals(Object)
fullName: System.Object.Equals(System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: Equals(Object, Object)
nameWithType: Object.Equals(Object, Object)
fullName: System.Object.Equals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
nameWithType: Object.Equals
fullName: System.Object.Equals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetHashCode
commentId: M:System.Object.GetHashCode
parent: System.Object
isExternal: true
name: GetHashCode()
nameWithType: Object.GetHashCode()
fullName: System.Object.GetHashCode()
spec.csharp:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetHashCode
name: GetHashCode
nameWithType: Object.GetHashCode
fullName: System.Object.GetHashCode
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
name: GetType()
nameWithType: Object.GetType()
fullName: System.Object.GetType()
spec.csharp:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.GetType
name: GetType
nameWithType: Object.GetType
fullName: System.Object.GetType
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.MemberwiseClone
commentId: M:System.Object.MemberwiseClone
parent: System.Object
isExternal: true
name: MemberwiseClone()
nameWithType: Object.MemberwiseClone()
fullName: System.Object.MemberwiseClone()
spec.csharp:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
nameWithType: Object.MemberwiseClone
fullName: System.Object.MemberwiseClone
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
name: ReferenceEquals(Object, Object)
nameWithType: Object.ReferenceEquals(Object, Object)
fullName: System.Object.ReferenceEquals(System.Object, System.Object)
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
nameWithType: Object.ReferenceEquals
fullName: System.Object.ReferenceEquals
isExternal: true
- name: (
nameWithType: (
fullName: (
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: ', '
nameWithType: ', '
fullName: ', '
- uid: System.Object
name: Object
nameWithType: Object
fullName: System.Object
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Object.ToString
commentId: M:System.Object.ToString
parent: System.Object
isExternal: true
name: ToString()
nameWithType: Object.ToString()
fullName: System.Object.ToString()
spec.csharp:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
spec.vb:
- uid: System.Object.ToString
name: ToString
nameWithType: Object.ToString
fullName: System.Object.ToString
isExternal: true
- name: (
nameWithType: (
fullName: (
- name: )
nameWithType: )
fullName: )
- uid: System
commentId: N:System
isExternal: true
name: System
nameWithType: System
fullName: System
- uid: MLEM.Misc.EnumHelper.Buttons
commentId: F:MLEM.Misc.EnumHelper.Buttons
isExternal: true
- uid: Microsoft.Xna.Framework.Input.Buttons[]
isExternal: true
name: Buttons[]
nameWithType: Buttons[]
fullName: Microsoft.Xna.Framework.Input.Buttons[]
nameWithType.vb: Buttons()
fullName.vb: Microsoft.Xna.Framework.Input.Buttons()
name.vb: Buttons()
spec.csharp:
- uid: Microsoft.Xna.Framework.Input.Buttons
name: Buttons
nameWithType: Buttons
fullName: Microsoft.Xna.Framework.Input.Buttons
isExternal: true
- name: '[]'
nameWithType: '[]'
fullName: '[]'
spec.vb:
- uid: Microsoft.Xna.Framework.Input.Buttons
name: Buttons
nameWithType: Buttons
fullName: Microsoft.Xna.Framework.Input.Buttons
isExternal: true
- name: ()
nameWithType: ()
fullName: ()
- uid: MLEM.Misc.EnumHelper.Keys
commentId: F:MLEM.Misc.EnumHelper.Keys
isExternal: true
- uid: Microsoft.Xna.Framework.Input.Keys[]
isExternal: true
name: Keys[]
nameWithType: Keys[]
fullName: Microsoft.Xna.Framework.Input.Keys[]
nameWithType.vb: Keys()
fullName.vb: Microsoft.Xna.Framework.Input.Keys()
name.vb: Keys()
spec.csharp:
- uid: Microsoft.Xna.Framework.Input.Keys
name: Keys
nameWithType: Keys
fullName: Microsoft.Xna.Framework.Input.Keys
isExternal: true
- name: '[]'
nameWithType: '[]'
fullName: '[]'
spec.vb:
- uid: Microsoft.Xna.Framework.Input.Keys
name: Keys
nameWithType: Keys
fullName: Microsoft.Xna.Framework.Input.Keys
isExternal: true
- name: ()
nameWithType: ()
fullName: ()
- uid: MLEM.Misc.EnumHelper.GetValues*
commentId: Overload:MLEM.Misc.EnumHelper.GetValues
name: GetValues
nameWithType: EnumHelper.GetValues
fullName: MLEM.Misc.EnumHelper.GetValues
- uid: System.Collections.Generic.IEnumerable{{T}}
commentId: T:System.Collections.Generic.IEnumerable{``0}
parent: System.Collections.Generic
definition: System.Collections.Generic.IEnumerable`1
name: IEnumerable<T>
nameWithType: IEnumerable<T>
fullName: System.Collections.Generic.IEnumerable<T>
nameWithType.vb: IEnumerable(Of T)
fullName.vb: System.Collections.Generic.IEnumerable(Of T)
name.vb: IEnumerable(Of T)
spec.csharp:
- uid: System.Collections.Generic.IEnumerable`1
name: IEnumerable
nameWithType: IEnumerable
fullName: System.Collections.Generic.IEnumerable
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: T
nameWithType: T
fullName: T
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Collections.Generic.IEnumerable`1
name: IEnumerable
nameWithType: IEnumerable
fullName: System.Collections.Generic.IEnumerable
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
- uid: System.Collections.Generic.IEnumerable`1
commentId: T:System.Collections.Generic.IEnumerable`1
isExternal: true
name: IEnumerable<T>
nameWithType: IEnumerable<T>
fullName: System.Collections.Generic.IEnumerable<T>
nameWithType.vb: IEnumerable(Of T)
fullName.vb: System.Collections.Generic.IEnumerable(Of T)
name.vb: IEnumerable(Of T)
spec.csharp:
- uid: System.Collections.Generic.IEnumerable`1
name: IEnumerable
nameWithType: IEnumerable
fullName: System.Collections.Generic.IEnumerable
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: T
nameWithType: T
fullName: T
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Collections.Generic.IEnumerable`1
name: IEnumerable
nameWithType: IEnumerable
fullName: System.Collections.Generic.IEnumerable
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- name: T
nameWithType: T
fullName: T
- name: )
nameWithType: )
fullName: )
- uid: System.Collections.Generic
commentId: N:System.Collections.Generic
isExternal: true
name: System.Collections.Generic
nameWithType: System.Collections.Generic
fullName: System.Collections.Generic