mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-14 10:09:09 +01:00
590 lines
17 KiB
YAML
590 lines
17 KiB
YAML
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: MLEM.Data.ContentExtensions
|
|
commentId: T:MLEM.Data.ContentExtensions
|
|
id: ContentExtensions
|
|
parent: MLEM.Data
|
|
children:
|
|
- MLEM.Data.ContentExtensions.AddJsonConverter(Microsoft.Xna.Framework.Content.ContentManager,Newtonsoft.Json.JsonConverter)
|
|
- MLEM.Data.ContentExtensions.GetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager)
|
|
- MLEM.Data.ContentExtensions.LoadJson``1(Microsoft.Xna.Framework.Content.ContentManager,System.String,System.String)
|
|
- MLEM.Data.ContentExtensions.SetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager,Newtonsoft.Json.JsonSerializer)
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: ContentExtensions
|
|
nameWithType: ContentExtensions
|
|
fullName: MLEM.Data.ContentExtensions
|
|
type: Class
|
|
source:
|
|
remote:
|
|
path: MLEM.Data/ContentExtensions.cs
|
|
branch: master
|
|
repo: https://github.com/Ellpeck/MLEM
|
|
id: ContentExtensions
|
|
path: ../MLEM.Data/ContentExtensions.cs
|
|
startLine: 7
|
|
assemblies:
|
|
- MLEM.Data
|
|
namespace: MLEM.Data
|
|
syntax:
|
|
content: public static class ContentExtensions
|
|
content.vb: Public Module ContentExtensions
|
|
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.Data.ContentExtensions.SetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager,Newtonsoft.Json.JsonSerializer)
|
|
commentId: M:MLEM.Data.ContentExtensions.SetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager,Newtonsoft.Json.JsonSerializer)
|
|
id: SetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager,Newtonsoft.Json.JsonSerializer)
|
|
isExtensionMethod: true
|
|
parent: MLEM.Data.ContentExtensions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: SetJsonSerializer(ContentManager, JsonSerializer)
|
|
nameWithType: ContentExtensions.SetJsonSerializer(ContentManager, JsonSerializer)
|
|
fullName: MLEM.Data.ContentExtensions.SetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager, Newtonsoft.Json.JsonSerializer)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: MLEM.Data/ContentExtensions.cs
|
|
branch: master
|
|
repo: https://github.com/Ellpeck/MLEM
|
|
id: SetJsonSerializer
|
|
path: ../MLEM.Data/ContentExtensions.cs
|
|
startLine: 11
|
|
assemblies:
|
|
- MLEM.Data
|
|
namespace: MLEM.Data
|
|
syntax:
|
|
content: public static void SetJsonSerializer(this ContentManager content, JsonSerializer serializer)
|
|
parameters:
|
|
- id: content
|
|
type: Microsoft.Xna.Framework.Content.ContentManager
|
|
- id: serializer
|
|
type: Newtonsoft.Json.JsonSerializer
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Sub SetJsonSerializer(content As ContentManager, serializer As JsonSerializer)
|
|
overload: MLEM.Data.ContentExtensions.SetJsonSerializer*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
- uid: MLEM.Data.ContentExtensions.GetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager)
|
|
commentId: M:MLEM.Data.ContentExtensions.GetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager)
|
|
id: GetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager)
|
|
isExtensionMethod: true
|
|
parent: MLEM.Data.ContentExtensions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: GetJsonSerializer(ContentManager)
|
|
nameWithType: ContentExtensions.GetJsonSerializer(ContentManager)
|
|
fullName: MLEM.Data.ContentExtensions.GetJsonSerializer(Microsoft.Xna.Framework.Content.ContentManager)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: MLEM.Data/ContentExtensions.cs
|
|
branch: master
|
|
repo: https://github.com/Ellpeck/MLEM
|
|
id: GetJsonSerializer
|
|
path: ../MLEM.Data/ContentExtensions.cs
|
|
startLine: 15
|
|
assemblies:
|
|
- MLEM.Data
|
|
namespace: MLEM.Data
|
|
syntax:
|
|
content: public static JsonSerializer GetJsonSerializer(this ContentManager content)
|
|
parameters:
|
|
- id: content
|
|
type: Microsoft.Xna.Framework.Content.ContentManager
|
|
return:
|
|
type: Newtonsoft.Json.JsonSerializer
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Function GetJsonSerializer(content As ContentManager) As JsonSerializer
|
|
overload: MLEM.Data.ContentExtensions.GetJsonSerializer*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
- uid: MLEM.Data.ContentExtensions.AddJsonConverter(Microsoft.Xna.Framework.Content.ContentManager,Newtonsoft.Json.JsonConverter)
|
|
commentId: M:MLEM.Data.ContentExtensions.AddJsonConverter(Microsoft.Xna.Framework.Content.ContentManager,Newtonsoft.Json.JsonConverter)
|
|
id: AddJsonConverter(Microsoft.Xna.Framework.Content.ContentManager,Newtonsoft.Json.JsonConverter)
|
|
isExtensionMethod: true
|
|
parent: MLEM.Data.ContentExtensions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: AddJsonConverter(ContentManager, JsonConverter)
|
|
nameWithType: ContentExtensions.AddJsonConverter(ContentManager, JsonConverter)
|
|
fullName: MLEM.Data.ContentExtensions.AddJsonConverter(Microsoft.Xna.Framework.Content.ContentManager, Newtonsoft.Json.JsonConverter)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: MLEM.Data/ContentExtensions.cs
|
|
branch: master
|
|
repo: https://github.com/Ellpeck/MLEM
|
|
id: AddJsonConverter
|
|
path: ../MLEM.Data/ContentExtensions.cs
|
|
startLine: 23
|
|
assemblies:
|
|
- MLEM.Data
|
|
namespace: MLEM.Data
|
|
syntax:
|
|
content: public static void AddJsonConverter(this ContentManager content, JsonConverter converter)
|
|
parameters:
|
|
- id: content
|
|
type: Microsoft.Xna.Framework.Content.ContentManager
|
|
- id: converter
|
|
type: Newtonsoft.Json.JsonConverter
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Sub AddJsonConverter(content As ContentManager, converter As JsonConverter)
|
|
overload: MLEM.Data.ContentExtensions.AddJsonConverter*
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
- uid: MLEM.Data.ContentExtensions.LoadJson``1(Microsoft.Xna.Framework.Content.ContentManager,System.String,System.String)
|
|
commentId: M:MLEM.Data.ContentExtensions.LoadJson``1(Microsoft.Xna.Framework.Content.ContentManager,System.String,System.String)
|
|
id: LoadJson``1(Microsoft.Xna.Framework.Content.ContentManager,System.String,System.String)
|
|
isExtensionMethod: true
|
|
parent: MLEM.Data.ContentExtensions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: LoadJson<T>(ContentManager, String, String)
|
|
nameWithType: ContentExtensions.LoadJson<T>(ContentManager, String, String)
|
|
fullName: MLEM.Data.ContentExtensions.LoadJson<T>(Microsoft.Xna.Framework.Content.ContentManager, System.String, System.String)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: MLEM.Data/ContentExtensions.cs
|
|
branch: master
|
|
repo: https://github.com/Ellpeck/MLEM
|
|
id: LoadJson
|
|
path: ../MLEM.Data/ContentExtensions.cs
|
|
startLine: 28
|
|
assemblies:
|
|
- MLEM.Data
|
|
namespace: MLEM.Data
|
|
syntax:
|
|
content: public static T LoadJson<T>(this ContentManager content, string name, string extension = ".json")
|
|
parameters:
|
|
- id: content
|
|
type: Microsoft.Xna.Framework.Content.ContentManager
|
|
- id: name
|
|
type: System.String
|
|
- id: extension
|
|
type: System.String
|
|
typeParameters:
|
|
- id: T
|
|
return:
|
|
type: '{T}'
|
|
content.vb: >-
|
|
<ExtensionAttribute>
|
|
|
|
Public Shared Function LoadJson(Of T)(content As ContentManager, name As String, extension As String = ".json") As T
|
|
overload: MLEM.Data.ContentExtensions.LoadJson*
|
|
nameWithType.vb: ContentExtensions.LoadJson(Of T)(ContentManager, String, String)
|
|
modifiers.csharp:
|
|
- public
|
|
- static
|
|
modifiers.vb:
|
|
- Public
|
|
- Shared
|
|
fullName.vb: MLEM.Data.ContentExtensions.LoadJson(Of T)(Microsoft.Xna.Framework.Content.ContentManager, System.String, System.String)
|
|
name.vb: LoadJson(Of T)(ContentManager, String, String)
|
|
references:
|
|
- uid: MLEM.Data
|
|
commentId: N:MLEM.Data
|
|
name: MLEM.Data
|
|
nameWithType: MLEM.Data
|
|
fullName: MLEM.Data
|
|
- 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.Data.ContentExtensions.SetJsonSerializer*
|
|
commentId: Overload:MLEM.Data.ContentExtensions.SetJsonSerializer
|
|
name: SetJsonSerializer
|
|
nameWithType: ContentExtensions.SetJsonSerializer
|
|
fullName: MLEM.Data.ContentExtensions.SetJsonSerializer
|
|
- uid: Microsoft.Xna.Framework.Content.ContentManager
|
|
commentId: T:Microsoft.Xna.Framework.Content.ContentManager
|
|
parent: Microsoft.Xna.Framework.Content
|
|
isExternal: true
|
|
name: ContentManager
|
|
nameWithType: ContentManager
|
|
fullName: Microsoft.Xna.Framework.Content.ContentManager
|
|
- uid: Newtonsoft.Json.JsonSerializer
|
|
commentId: T:Newtonsoft.Json.JsonSerializer
|
|
parent: Newtonsoft.Json
|
|
isExternal: true
|
|
name: JsonSerializer
|
|
nameWithType: JsonSerializer
|
|
fullName: Newtonsoft.Json.JsonSerializer
|
|
- uid: Microsoft.Xna.Framework.Content
|
|
commentId: N:Microsoft.Xna.Framework.Content
|
|
isExternal: true
|
|
name: Microsoft.Xna.Framework.Content
|
|
nameWithType: Microsoft.Xna.Framework.Content
|
|
fullName: Microsoft.Xna.Framework.Content
|
|
- uid: Newtonsoft.Json
|
|
commentId: N:Newtonsoft.Json
|
|
isExternal: true
|
|
name: Newtonsoft.Json
|
|
nameWithType: Newtonsoft.Json
|
|
fullName: Newtonsoft.Json
|
|
- uid: MLEM.Data.ContentExtensions.GetJsonSerializer*
|
|
commentId: Overload:MLEM.Data.ContentExtensions.GetJsonSerializer
|
|
name: GetJsonSerializer
|
|
nameWithType: ContentExtensions.GetJsonSerializer
|
|
fullName: MLEM.Data.ContentExtensions.GetJsonSerializer
|
|
- uid: MLEM.Data.ContentExtensions.AddJsonConverter*
|
|
commentId: Overload:MLEM.Data.ContentExtensions.AddJsonConverter
|
|
name: AddJsonConverter
|
|
nameWithType: ContentExtensions.AddJsonConverter
|
|
fullName: MLEM.Data.ContentExtensions.AddJsonConverter
|
|
- uid: Newtonsoft.Json.JsonConverter
|
|
commentId: T:Newtonsoft.Json.JsonConverter
|
|
parent: Newtonsoft.Json
|
|
isExternal: true
|
|
name: JsonConverter
|
|
nameWithType: JsonConverter
|
|
fullName: Newtonsoft.Json.JsonConverter
|
|
- uid: MLEM.Data.ContentExtensions.LoadJson*
|
|
commentId: Overload:MLEM.Data.ContentExtensions.LoadJson
|
|
name: LoadJson
|
|
nameWithType: ContentExtensions.LoadJson
|
|
fullName: MLEM.Data.ContentExtensions.LoadJson
|
|
- uid: System.String
|
|
commentId: T:System.String
|
|
parent: System
|
|
isExternal: true
|
|
name: String
|
|
nameWithType: String
|
|
fullName: System.String
|
|
- uid: '{T}'
|
|
commentId: '!:T'
|
|
definition: T
|
|
name: T
|
|
nameWithType: T
|
|
fullName: T
|
|
- uid: T
|
|
name: T
|
|
nameWithType: T
|
|
fullName: T
|