mirror of
https://github.com/Micke-K/IntuneManagement.git
synced 2026-09-28 19:05:38 +02:00
IntuneManagement 4.0.0-beta1
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#ImportOrder 10
|
||||
|
||||
# CLR-typed row shape for the Intune Manager DataGrid. The WPF implementation
|
||||
# wraps each IntunePolicyBase via [PSCustomObject]$policy + Add-Member; that
|
||||
# survives WPF's PSObject special-case binding but renders empty in Avalonia
|
||||
# (see [[avalonia-binding-needs-clr-types]]). Show-SelectedGraphPolicies
|
||||
# projects the canonical view properties onto this class before binding.
|
||||
#
|
||||
# Source / JsonObject / TokenId mirror the fields the bulk forms read off
|
||||
# the row directly. Custom column overrides (per-type `ObjectColumns`
|
||||
# setting) reach paths beyond these canonical fields and bind through
|
||||
# [IntuneManagement.AvaloniaHost.IntunePolicyPathConverter] (declared in
|
||||
# Bootstrap/AvaloniaHost.cs, compiled at runtime) against `Source` so
|
||||
# PSObject NoteProperties on the underlying IntunePolicyBase resolve.
|
||||
|
||||
class IntuneObjectRowItem
|
||||
{
|
||||
[bool] $IsSelected = $false
|
||||
[string] $Name
|
||||
[string] $PolicyName
|
||||
[string] $Platform
|
||||
[string] $Description
|
||||
[string] $LastModified
|
||||
[string] $Created
|
||||
[string] $ID
|
||||
[string] $ScopeTags
|
||||
|
||||
[object] $JsonObject
|
||||
[object] $Source
|
||||
[int] $TokenId
|
||||
|
||||
IntuneObjectRowItem() {}
|
||||
}
|
||||
Reference in New Issue
Block a user