TinyLifeWeb/docs/api/TinyLife.Utilities.Migration.ApplyDelegate.yml

289 lines
10 KiB
YAML
Raw Normal View History

2024-10-17 17:28:12 +02:00
### YamlMime:ManagedReference
items:
- uid: TinyLife.Utilities.Migration.ApplyDelegate
commentId: T:TinyLife.Utilities.Migration.ApplyDelegate
id: Migration.ApplyDelegate
parent: TinyLife.Utilities
children: []
langs:
- csharp
- vb
name: Migration.ApplyDelegate
nameWithType: Migration.ApplyDelegate
fullName: TinyLife.Utilities.Migration.ApplyDelegate
type: Delegate
assemblies:
- Tiny Life
namespace: TinyLife.Utilities
summary: A delegate method used for <xref href="TinyLife.Utilities.Migration.Apply" data-throw-if-not-resolved="false"></xref>. The passed JSON extension data is additional data that is loaded from disk, but didn't have an appropriate property or field to store it in. This can be useful for migrating objects whose property or field names changed.
example: []
syntax:
content: public delegate MigrationResult Migration.ApplyDelegate(object obj, IDictionary<string, JToken> jsonExtensionData)
parameters:
- id: obj
type: System.Object
- id: jsonExtensionData
type: System.Collections.Generic.IDictionary{System.String,Newtonsoft.Json.Linq.JToken}
return:
type: TinyLife.Utilities.MigrationResult
content.vb: Public Delegate Function Migration.ApplyDelegate(obj As Object, jsonExtensionData As IDictionary(Of String, JToken)) As MigrationResult
extensionMethods:
- TinyLife.Utilities.Migration.ApplyDelegate.TinyLife.Utilities.Extensions.JsonCopy``1
references:
- uid: TinyLife.Utilities.Migration.Apply
commentId: F:TinyLife.Utilities.Migration.Apply
parent: TinyLife.Utilities.Migration
href: TinyLife.Utilities.Migration.html#TinyLife_Utilities_Migration_Apply
name: Apply
nameWithType: Migration.Apply
fullName: TinyLife.Utilities.Migration.Apply
- 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
- uid: TinyLife.Utilities.Migration.ApplyDelegate.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<ApplyDelegate>(ApplyDelegate)
nameWithType: Extensions.JsonCopy<Migration.ApplyDelegate>(Migration.ApplyDelegate)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Utilities.Migration.ApplyDelegate>(TinyLife.Utilities.Migration.ApplyDelegate)
nameWithType.vb: Extensions.JsonCopy(Of Migration.ApplyDelegate)(Migration.ApplyDelegate)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Utilities.Migration.ApplyDelegate)(TinyLife.Utilities.Migration.ApplyDelegate)
name.vb: JsonCopy(Of ApplyDelegate)(ApplyDelegate)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Utilities.Migration.ApplyDelegate)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: <
- uid: TinyLife.Utilities.Migration.ApplyDelegate
name: ApplyDelegate
href: TinyLife.Utilities.Migration.ApplyDelegate.html
- name: '>'
- name: (
- uid: TinyLife.Utilities.Migration.ApplyDelegate
name: ApplyDelegate
href: TinyLife.Utilities.Migration.ApplyDelegate.html
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Utilities.Migration.ApplyDelegate)
name: JsonCopy
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
- name: (
- name: Of
- name: " "
- uid: TinyLife.Utilities.Migration.ApplyDelegate
name: ApplyDelegate
href: TinyLife.Utilities.Migration.ApplyDelegate.html
- name: )
- name: (
- uid: TinyLife.Utilities.Migration.ApplyDelegate
name: ApplyDelegate
href: TinyLife.Utilities.Migration.ApplyDelegate.html
- name: )
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: Object
- uid: System.Collections.Generic.IDictionary{System.String,Newtonsoft.Json.Linq.JToken}
commentId: T:System.Collections.Generic.IDictionary{System.String,Newtonsoft.Json.Linq.JToken}
parent: System.Collections.Generic
definition: System.Collections.Generic.IDictionary`2
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2
name: IDictionary<string, JToken>
nameWithType: IDictionary<string, JToken>
fullName: System.Collections.Generic.IDictionary<string, Newtonsoft.Json.Linq.JToken>
nameWithType.vb: IDictionary(Of String, JToken)
fullName.vb: System.Collections.Generic.IDictionary(Of String, Newtonsoft.Json.Linq.JToken)
name.vb: IDictionary(Of String, JToken)
spec.csharp:
- uid: System.Collections.Generic.IDictionary`2
name: IDictionary
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2
- name: <
- uid: System.String
name: string
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
- name: ','
- name: " "
- uid: Newtonsoft.Json.Linq.JToken
name: JToken
isExternal: true
- name: '>'
spec.vb:
- uid: System.Collections.Generic.IDictionary`2
name: IDictionary
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2
- name: (
- name: Of
- name: " "
- uid: System.String
name: String
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
- name: ','
- name: " "
- uid: Newtonsoft.Json.Linq.JToken
name: JToken
isExternal: true
- name: )
- uid: TinyLife.Utilities.MigrationResult
commentId: T:TinyLife.Utilities.MigrationResult
parent: TinyLife.Utilities
href: TinyLife.Utilities.MigrationResult.html
name: MigrationResult
nameWithType: MigrationResult
fullName: TinyLife.Utilities.MigrationResult
- uid: TinyLife.Utilities.Migration
commentId: T:TinyLife.Utilities.Migration
parent: TinyLife.Utilities
href: TinyLife.Utilities.Migration.html
name: Migration
nameWithType: Migration
fullName: TinyLife.Utilities.Migration
- 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: System.Collections.Generic.IDictionary`2
commentId: T:System.Collections.Generic.IDictionary`2
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2
name: IDictionary<TKey, TValue>
nameWithType: IDictionary<TKey, TValue>
fullName: System.Collections.Generic.IDictionary<TKey, TValue>
nameWithType.vb: IDictionary(Of TKey, TValue)
fullName.vb: System.Collections.Generic.IDictionary(Of TKey, TValue)
name.vb: IDictionary(Of TKey, TValue)
spec.csharp:
- uid: System.Collections.Generic.IDictionary`2
name: IDictionary
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2
- name: <
- name: TKey
- name: ','
- name: " "
- name: TValue
- name: '>'
spec.vb:
- uid: System.Collections.Generic.IDictionary`2
name: IDictionary
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2
- name: (
- name: Of
- name: " "
- name: TKey
- name: ','
- name: " "
- name: TValue
- name: )
- uid: System.Collections.Generic
commentId: N:System.Collections.Generic
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System.Collections.Generic
nameWithType: System.Collections.Generic
fullName: System.Collections.Generic
spec.csharp:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Collections
name: Collections
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections
- name: .
- uid: System.Collections.Generic
name: Generic
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic
spec.vb:
- uid: System
name: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
- name: .
- uid: System.Collections
name: Collections
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections
- name: .
- uid: System.Collections.Generic
name: Generic
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.collections.generic