Skip to content

Commit

Permalink
feat: Import-TypeView -Command ( Fixes #236 )
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating committed Jul 7, 2024
2 parents 4a90450 + 15cad02 commit 1d4fa0b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/Write-TypeView.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,15 @@ These will become ScriptMethods.

#### **DefaultDisplay**
The default display.
If only one propertry is used, this will set the default display property.
If more than one property is used, this will set the default display member set.
This is the default set of properties to display if no formatter is specified.

|Type |Required|Position|PipelineInput|
|------------|--------|--------|-------------|
|`[String[]]`|false |named |false |

#### **DefaultKey**
The default key property set.
This is the set of properties that will be used as the key for the object.

|Type |Required|Position|PipelineInput|
|------------|--------|--------|-------------|
Expand Down Expand Up @@ -154,5 +161,5 @@ If set, will generate an identical typeview for the deserialized form of each ty

### Syntax
```PowerShell
Write-TypeView [-TypeName] <String[]> [-ScriptMethod <IDictionary>] [-ScriptProperty <IDictionary>] [-NoteProperty <IDictionary>] [-AliasProperty <IDictionary>] [-EventGenerator <IDictionary>] [-EventName <String[]>] [-DefaultDisplay <String[]>] [-IdProperty <String>] [-SerializationDepth <Int32>] [-Reserializer <Type>] [-PropertySet <IDictionary>] [-HideProperty <String[]>] [-Deserialized] [<CommonParameters>]
Write-TypeView [-TypeName] <String[]> [-ScriptMethod <IDictionary>] [-ScriptProperty <IDictionary>] [-NoteProperty <IDictionary>] [-AliasProperty <IDictionary>] [-EventGenerator <IDictionary>] [-EventName <String[]>] [-DefaultDisplay <String[]>] [-DefaultKey <String[]>] [-IdProperty <String>] [-SerializationDepth <Int32>] [-Reserializer <Type>] [-PropertySet <IDictionary>] [-HideProperty <String[]>] [-Deserialized] [<CommonParameters>]
```

0 comments on commit 1d4fa0b

Please sign in to comment.