405 lines
13 KiB
YAML
405 lines
13 KiB
YAML
### YamlMime:ManagedReference
|
|
items:
|
|
- uid: CapyKit.Extensions.ObjectExtensions
|
|
commentId: T:CapyKit.Extensions.ObjectExtensions
|
|
id: ObjectExtensions
|
|
parent: CapyKit.Extensions
|
|
children:
|
|
- CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
|
|
- CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(``0,``0)
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: ObjectExtensions
|
|
nameWithType: ObjectExtensions
|
|
fullName: CapyKit.Extensions.ObjectExtensions
|
|
type: Class
|
|
source:
|
|
remote:
|
|
path: CapyKit/Extensions/ObjectExtensions.cs
|
|
branch: main
|
|
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
|
|
id: ObjectExtensions
|
|
path: ../CapyKit/Extensions/ObjectExtensions.cs
|
|
startLine: 9
|
|
assemblies:
|
|
- CapyKit
|
|
namespace: CapyKit.Extensions
|
|
summary: An class containing extenstions that apply to any object type.
|
|
example: []
|
|
syntax:
|
|
content: public static class ObjectExtensions
|
|
content.vb: Public Module ObjectExtensions
|
|
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
|
|
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(``0,``0)
|
|
commentId: M:CapyKit.Extensions.ObjectExtensions.UpdateProperties``1(``0,``0)
|
|
id: UpdateProperties``1(``0,``0)
|
|
isExtensionMethod: true
|
|
parent: CapyKit.Extensions.ObjectExtensions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: UpdateProperties<T>(T, T)
|
|
nameWithType: ObjectExtensions.UpdateProperties<T>(T, T)
|
|
fullName: CapyKit.Extensions.ObjectExtensions.UpdateProperties<T>(T, T)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: CapyKit/Extensions/ObjectExtensions.cs
|
|
branch: main
|
|
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
|
|
id: UpdateProperties
|
|
path: ../CapyKit/Extensions/ObjectExtensions.cs
|
|
startLine: 18
|
|
assemblies:
|
|
- CapyKit
|
|
namespace: CapyKit.Extensions
|
|
summary: >-
|
|
An object extension method that updates the properties of a given <code class="paramref">target</code>
|
|
|
|
object with the values from a given <code class="paramref">source</code> object.
|
|
example: []
|
|
syntax:
|
|
content: public static void UpdateProperties<T>(this T target, T source)
|
|
parameters:
|
|
- id: target
|
|
type: '{T}'
|
|
description: The target object to act on.
|
|
- id: source
|
|
type: '{T}'
|
|
description: Source for the new property values.
|
|
typeParameters:
|
|
- id: T
|
|
description: Generic type parameter.
|
|
content.vb: Public Shared Sub UpdateProperties(Of T)(target As T, source As T)
|
|
overload: CapyKit.Extensions.ObjectExtensions.UpdateProperties*
|
|
nameWithType.vb: ObjectExtensions.UpdateProperties(Of T)(T, T)
|
|
fullName.vb: CapyKit.Extensions.ObjectExtensions.UpdateProperties(Of T)(T, T)
|
|
name.vb: UpdateProperties(Of T)(T, T)
|
|
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
|
|
commentId: M:CapyKit.Extensions.ObjectExtensions.UpdateProperties(System.Object,System.Object)
|
|
id: UpdateProperties(System.Object,System.Object)
|
|
isExtensionMethod: true
|
|
parent: CapyKit.Extensions.ObjectExtensions
|
|
langs:
|
|
- csharp
|
|
- vb
|
|
name: UpdateProperties(object, object)
|
|
nameWithType: ObjectExtensions.UpdateProperties(object, object)
|
|
fullName: CapyKit.Extensions.ObjectExtensions.UpdateProperties(object, object)
|
|
type: Method
|
|
source:
|
|
remote:
|
|
path: CapyKit/Extensions/ObjectExtensions.cs
|
|
branch: main
|
|
repo: https://git.jordanwages.com/wagesj45/CapyKit.git
|
|
id: UpdateProperties
|
|
path: ../CapyKit/Extensions/ObjectExtensions.cs
|
|
startLine: 36
|
|
assemblies:
|
|
- CapyKit
|
|
namespace: CapyKit.Extensions
|
|
summary: >-
|
|
An object extension method that updates the properties of a given <code class="paramref">target</code>
|
|
|
|
object with the values from a given <code class="paramref">source</code> object.
|
|
example: []
|
|
syntax:
|
|
content: public static void UpdateProperties(this object target, object source)
|
|
parameters:
|
|
- id: target
|
|
type: System.Object
|
|
description: The target object to act on.
|
|
- id: source
|
|
type: System.Object
|
|
description: Source for the new property values.
|
|
content.vb: Public Shared Sub UpdateProperties(target As Object, source As Object)
|
|
overload: CapyKit.Extensions.ObjectExtensions.UpdateProperties*
|
|
nameWithType.vb: ObjectExtensions.UpdateProperties(Object, Object)
|
|
fullName.vb: CapyKit.Extensions.ObjectExtensions.UpdateProperties(Object, Object)
|
|
name.vb: UpdateProperties(Object, Object)
|
|
references:
|
|
- uid: CapyKit.Extensions
|
|
commentId: N:CapyKit.Extensions
|
|
href: CapyKit.html
|
|
name: CapyKit.Extensions
|
|
nameWithType: CapyKit.Extensions
|
|
fullName: CapyKit.Extensions
|
|
spec.csharp:
|
|
- uid: CapyKit
|
|
name: CapyKit
|
|
href: CapyKit.html
|
|
- name: .
|
|
- uid: CapyKit.Extensions
|
|
name: Extensions
|
|
href: CapyKit.Extensions.html
|
|
spec.vb:
|
|
- uid: CapyKit
|
|
name: CapyKit
|
|
href: CapyKit.html
|
|
- name: .
|
|
- uid: CapyKit.Extensions
|
|
name: Extensions
|
|
href: CapyKit.Extensions.html
|
|
- 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.Object.Equals(System.Object)
|
|
commentId: M:System.Object.Equals(System.Object)
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
|
name: Equals(object)
|
|
nameWithType: object.Equals(object)
|
|
fullName: object.Equals(object)
|
|
nameWithType.vb: Object.Equals(Object)
|
|
fullName.vb: Object.Equals(Object)
|
|
name.vb: Equals(Object)
|
|
spec.csharp:
|
|
- uid: System.Object.Equals(System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.Equals(System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.Equals(System.Object,System.Object)
|
|
commentId: M:System.Object.Equals(System.Object,System.Object)
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
|
name: Equals(object, object)
|
|
nameWithType: object.Equals(object, object)
|
|
fullName: object.Equals(object, object)
|
|
nameWithType.vb: Object.Equals(Object, Object)
|
|
fullName.vb: Object.Equals(Object, Object)
|
|
name.vb: Equals(Object, Object)
|
|
spec.csharp:
|
|
- uid: System.Object.Equals(System.Object,System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.Equals(System.Object,System.Object)
|
|
name: Equals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.GetHashCode
|
|
commentId: M:System.Object.GetHashCode
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
|
name: GetHashCode()
|
|
nameWithType: object.GetHashCode()
|
|
fullName: object.GetHashCode()
|
|
nameWithType.vb: Object.GetHashCode()
|
|
fullName.vb: Object.GetHashCode()
|
|
spec.csharp:
|
|
- uid: System.Object.GetHashCode
|
|
name: GetHashCode
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.GetHashCode
|
|
name: GetHashCode
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.GetType
|
|
commentId: M:System.Object.GetType
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
|
name: GetType()
|
|
nameWithType: object.GetType()
|
|
fullName: object.GetType()
|
|
nameWithType.vb: Object.GetType()
|
|
fullName.vb: Object.GetType()
|
|
spec.csharp:
|
|
- uid: System.Object.GetType
|
|
name: GetType
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.GetType
|
|
name: GetType
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.MemberwiseClone
|
|
commentId: M:System.Object.MemberwiseClone
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
|
name: MemberwiseClone()
|
|
nameWithType: object.MemberwiseClone()
|
|
fullName: object.MemberwiseClone()
|
|
nameWithType.vb: Object.MemberwiseClone()
|
|
fullName.vb: Object.MemberwiseClone()
|
|
spec.csharp:
|
|
- uid: System.Object.MemberwiseClone
|
|
name: MemberwiseClone
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.MemberwiseClone
|
|
name: MemberwiseClone
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
|
- name: (
|
|
- name: )
|
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
|
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
|
name: ReferenceEquals(object, object)
|
|
nameWithType: object.ReferenceEquals(object, object)
|
|
fullName: object.ReferenceEquals(object, object)
|
|
nameWithType.vb: Object.ReferenceEquals(Object, Object)
|
|
fullName.vb: Object.ReferenceEquals(Object, Object)
|
|
name.vb: ReferenceEquals(Object, Object)
|
|
spec.csharp:
|
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
|
name: ReferenceEquals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
|
- name: (
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
|
name: ReferenceEquals
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
|
- name: (
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: ','
|
|
- name: " "
|
|
- uid: System.Object
|
|
name: Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
|
- name: )
|
|
- uid: System.Object.ToString
|
|
commentId: M:System.Object.ToString
|
|
parent: System.Object
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
|
name: ToString()
|
|
nameWithType: object.ToString()
|
|
fullName: object.ToString()
|
|
nameWithType.vb: Object.ToString()
|
|
fullName.vb: Object.ToString()
|
|
spec.csharp:
|
|
- uid: System.Object.ToString
|
|
name: ToString
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
|
- name: (
|
|
- name: )
|
|
spec.vb:
|
|
- uid: System.Object.ToString
|
|
name: ToString
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
|
- name: (
|
|
- name: )
|
|
- uid: System
|
|
commentId: N:System
|
|
isExternal: true
|
|
href: https://learn.microsoft.com/dotnet/api/system
|
|
name: System
|
|
nameWithType: System
|
|
fullName: System
|
|
- uid: CapyKit.Extensions.ObjectExtensions.UpdateProperties*
|
|
commentId: Overload:CapyKit.Extensions.ObjectExtensions.UpdateProperties
|
|
href: CapyKit.Extensions.ObjectExtensions.html#CapyKit_Extensions_ObjectExtensions_UpdateProperties__1___0___0_
|
|
name: UpdateProperties
|
|
nameWithType: ObjectExtensions.UpdateProperties
|
|
fullName: CapyKit.Extensions.ObjectExtensions.UpdateProperties
|
|
- uid: '{T}'
|
|
commentId: '!:T'
|
|
definition: T
|
|
name: T
|
|
nameWithType: T
|
|
fullName: T
|
|
- uid: T
|
|
name: T
|
|
nameWithType: T
|
|
fullName: T
|