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.GenericDataHolder.yml

603 lines
16 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: MLEM.Misc.GenericDataHolder
commentId: T:MLEM.Misc.GenericDataHolder
id: GenericDataHolder
parent: MLEM.Misc
children:
- MLEM.Misc.GenericDataHolder.GetData``1(System.String)
- MLEM.Misc.GenericDataHolder.GetDataKeys
- MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object)
langs:
- csharp
- vb
name: GenericDataHolder
nameWithType: GenericDataHolder
fullName: MLEM.Misc.GenericDataHolder
type: Class
source:
remote:
path: MLEM/Misc/GenericDataHolder.cs
branch: master
repo: https://github.com/Ellpeck/MLEM
id: GenericDataHolder
path: ../MLEM/Misc/GenericDataHolder.cs
startLine: 8
assemblies:
- MLEM
namespace: MLEM.Misc
summary: "\nRepresents an object that can hold generic key-value based data.\nA lot of MLEM components extend this class to allow for users to add additional data to them easily.\n"
example: []
syntax:
content: public class GenericDataHolder
content.vb: Public Class GenericDataHolder
inheritance:
- System.Object
derivedClasses:
- MLEM.Animations.SpriteAnimation
- MLEM.Animations.SpriteAnimationGroup
- MLEM.Extended.Tiled.IndividualTiledMapRenderer.TileDrawInfo
- MLEM.Extended.Tiled.TiledMapCollisions.TileCollisionInfo
- MLEM.Formatting.Codes.Code
- MLEM.Formatting.FormatSettings
- MLEM.Formatting.FormattingCodeData
- MLEM.Formatting.TextFormatter
- MLEM.Formatting.Token
- MLEM.Formatting.TokenizedString
- MLEM.Textures.NinePatch
- MLEM.Textures.TextureRegion
- MLEM.Textures.UniformTextureAtlas
- MLEM.Ui.Elements.Element
- MLEM.Ui.Style.UiStyle
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
- class
modifiers.vb:
- Public
- Class
- uid: MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object)
commentId: M:MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object)
id: SetData(System.String,System.Object)
parent: MLEM.Misc.GenericDataHolder
langs:
- csharp
- vb
name: SetData(String, Object)
nameWithType: GenericDataHolder.SetData(String, Object)
fullName: MLEM.Misc.GenericDataHolder.SetData(System.String, System.Object)
type: Method
source:
remote:
path: MLEM/Misc/GenericDataHolder.cs
branch: master
repo: https://github.com/Ellpeck/MLEM
id: SetData
path: ../MLEM/Misc/GenericDataHolder.cs
startLine: 17
assemblies:
- MLEM
namespace: MLEM.Misc
summary: "\nStore a piece of generic data on this object.\n"
example: []
syntax:
content: public void SetData(string key, object data)
parameters:
- id: key
type: System.String
description: The key to store the data by
- id: data
type: System.Object
description: The data to store in the object
content.vb: Public Sub SetData(key As String, data As Object)
overload: MLEM.Misc.GenericDataHolder.SetData*
modifiers.csharp:
- public
modifiers.vb:
- Public
- uid: MLEM.Misc.GenericDataHolder.GetData``1(System.String)
commentId: M:MLEM.Misc.GenericDataHolder.GetData``1(System.String)
id: GetData``1(System.String)
parent: MLEM.Misc.GenericDataHolder
langs:
- csharp
- vb
name: GetData<T>(String)
nameWithType: GenericDataHolder.GetData<T>(String)
fullName: MLEM.Misc.GenericDataHolder.GetData<T>(System.String)
type: Method
source:
remote:
path: MLEM/Misc/GenericDataHolder.cs
branch: master
repo: https://github.com/Ellpeck/MLEM
id: GetData
path: ../MLEM/Misc/GenericDataHolder.cs
startLine: 34
assemblies:
- MLEM
namespace: MLEM.Misc
summary: "\nReturns a piece of generic data of the given type on this object.\n"
example: []
syntax:
content: public T GetData<T>(string key)
parameters:
- id: key
type: System.String
description: The key that the data is stored by
typeParameters:
- id: T
description: The type of the data stored
return:
type: '{T}'
description: The data, or default if it doesn&apos;t exist
content.vb: Public Function GetData(Of T)(key As String) As T
overload: MLEM.Misc.GenericDataHolder.GetData*
nameWithType.vb: GenericDataHolder.GetData(Of T)(String)
modifiers.csharp:
- public
modifiers.vb:
- Public
fullName.vb: MLEM.Misc.GenericDataHolder.GetData(Of T)(System.String)
name.vb: GetData(Of T)(String)
- uid: MLEM.Misc.GenericDataHolder.GetDataKeys
commentId: M:MLEM.Misc.GenericDataHolder.GetDataKeys
id: GetDataKeys
parent: MLEM.Misc.GenericDataHolder
langs:
- csharp
- vb
name: GetDataKeys()
nameWithType: GenericDataHolder.GetDataKeys()
fullName: MLEM.Misc.GenericDataHolder.GetDataKeys()
type: Method
source:
remote:
path: MLEM/Misc/GenericDataHolder.cs
branch: master
repo: https://github.com/Ellpeck/MLEM
id: GetDataKeys
path: ../MLEM/Misc/GenericDataHolder.cs
startLine: 44
assemblies:
- MLEM
namespace: MLEM.Misc
summary: "\nReturns all of the generic data that this object stores.\n"
example: []
syntax:
content: public IReadOnlyCollection<string> GetDataKeys()
return:
type: System.Collections.Generic.IReadOnlyCollection{System.String}
description: The generic data on this object
content.vb: Public Function GetDataKeys As IReadOnlyCollection(Of String)
overload: MLEM.Misc.GenericDataHolder.GetDataKeys*
modifiers.csharp:
- public
modifiers.vb:
- Public
references:
- 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.GenericDataHolder.SetData*
commentId: Overload:MLEM.Misc.GenericDataHolder.SetData
name: SetData
nameWithType: GenericDataHolder.SetData
fullName: MLEM.Misc.GenericDataHolder.SetData
- uid: System.String
commentId: T:System.String
parent: System
isExternal: true
name: String
nameWithType: String
fullName: System.String
- uid: MLEM.Misc.GenericDataHolder.GetData*
commentId: Overload:MLEM.Misc.GenericDataHolder.GetData
name: GetData
nameWithType: GenericDataHolder.GetData
fullName: MLEM.Misc.GenericDataHolder.GetData
- uid: '{T}'
commentId: '!:T'
definition: T
name: T
nameWithType: T
fullName: T
- uid: T
name: T
nameWithType: T
fullName: T
- uid: MLEM.Misc.GenericDataHolder.GetDataKeys*
commentId: Overload:MLEM.Misc.GenericDataHolder.GetDataKeys
name: GetDataKeys
nameWithType: GenericDataHolder.GetDataKeys
fullName: MLEM.Misc.GenericDataHolder.GetDataKeys
- uid: System.Collections.Generic.IReadOnlyCollection{System.String}
commentId: T:System.Collections.Generic.IReadOnlyCollection{System.String}
parent: System.Collections.Generic
definition: System.Collections.Generic.IReadOnlyCollection`1
name: IReadOnlyCollection<String>
nameWithType: IReadOnlyCollection<String>
fullName: System.Collections.Generic.IReadOnlyCollection<System.String>
nameWithType.vb: IReadOnlyCollection(Of String)
fullName.vb: System.Collections.Generic.IReadOnlyCollection(Of System.String)
name.vb: IReadOnlyCollection(Of String)
spec.csharp:
- uid: System.Collections.Generic.IReadOnlyCollection`1
name: IReadOnlyCollection
nameWithType: IReadOnlyCollection
fullName: System.Collections.Generic.IReadOnlyCollection
isExternal: true
- name: <
nameWithType: <
fullName: <
- uid: System.String
name: String
nameWithType: String
fullName: System.String
isExternal: true
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Collections.Generic.IReadOnlyCollection`1
name: IReadOnlyCollection
nameWithType: IReadOnlyCollection
fullName: System.Collections.Generic.IReadOnlyCollection
isExternal: true
- name: '(Of '
nameWithType: '(Of '
fullName: '(Of '
- uid: System.String
name: String
nameWithType: String
fullName: System.String
isExternal: true
- name: )
nameWithType: )
fullName: )
- uid: System.Collections.Generic.IReadOnlyCollection`1
commentId: T:System.Collections.Generic.IReadOnlyCollection`1
isExternal: true
name: IReadOnlyCollection<T>
nameWithType: IReadOnlyCollection<T>
fullName: System.Collections.Generic.IReadOnlyCollection<T>
nameWithType.vb: IReadOnlyCollection(Of T)
fullName.vb: System.Collections.Generic.IReadOnlyCollection(Of T)
name.vb: IReadOnlyCollection(Of T)
spec.csharp:
- uid: System.Collections.Generic.IReadOnlyCollection`1
name: IReadOnlyCollection
nameWithType: IReadOnlyCollection
fullName: System.Collections.Generic.IReadOnlyCollection
isExternal: true
- name: <
nameWithType: <
fullName: <
- name: T
nameWithType: T
fullName: T
- name: '>'
nameWithType: '>'
fullName: '>'
spec.vb:
- uid: System.Collections.Generic.IReadOnlyCollection`1
name: IReadOnlyCollection
nameWithType: IReadOnlyCollection
fullName: System.Collections.Generic.IReadOnlyCollection
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