mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-09-22 14:55:05 +08:00
85 lines
3.0 KiB
XML
85 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
|
|
<Type Name="vl::ObjectString<wchar_t>">
|
|
<DisplayString>{{ size={length}, buffer={buffer+start,su} }}</DisplayString>
|
|
<StringView>buffer+start,su</StringView>
|
|
<Expand>
|
|
<Item Name="[size]">length</Item>
|
|
<ArrayItems>
|
|
<Size>length</Size>
|
|
<ValuePointer>buffer+start</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="vl::ObjectString<char>">
|
|
<DisplayString>{{ size={length}, buffer={buffer+start,s} }}</DisplayString>
|
|
<StringView>buffer+start,s</StringView>
|
|
<Expand>
|
|
<Item Name="[size]">length</Item>
|
|
<ArrayItems>
|
|
<Size>length</Size>
|
|
<ValuePointer>buffer+start</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="vl::collections::List<*>">
|
|
<AlternativeType Name="vl::collections::SortedList<*>"/>
|
|
<AlternativeType Name="vl::collections::Array<*>"/>
|
|
<DisplayString>{{ size={count} }}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[size]">count</Item>
|
|
<ArrayItems>
|
|
<Size>count</Size>
|
|
<ValuePointer>($T1*)buffer</ValuePointer>
|
|
</ArrayItems>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="vl::collections::Dictionary<*,*>">
|
|
<AlternativeType Name="vl::collections::Group<*,*>"/>
|
|
<DisplayString>{{ size={keys.count} }}</DisplayString>
|
|
<Expand>
|
|
<Item Name="[size]">keys.count</Item>
|
|
<Item Name="Keys">keys</Item>
|
|
<Item Name="Values">values</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="vl::Ptr<*>">
|
|
<AlternativeType Name="vl::ComPtr<*>"/>
|
|
<DisplayString Condition="reference == 0">[empty]</DisplayString>
|
|
<DisplayString Condition="reference != 0">{*reference}</DisplayString>
|
|
<Expand>
|
|
<ExpandedItem Condition="reference != 0">reference</ExpandedItem>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="vl::Lazy<*>">
|
|
<DisplayString Condition="internalValue.reference == 0">[empty]</DisplayString>
|
|
<DisplayString Condition="internalValue.reference != 0 && internalValue.reference->evaluated == false">[not evaluated]</DisplayString>
|
|
<DisplayString Condition="internalValue.reference != 0 && internalValue.reference->evaluated == true">{internalValue.reference->value}</DisplayString>
|
|
<Expand>
|
|
<ExpandedItem Condition="internalValue.reference != 0 && internalValue.reference->evaluated == true">internalValue.reference->value</ExpandedItem>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="vl::ObjectBox<*>">
|
|
<DisplayString>{object}</DisplayString>
|
|
<Expand>
|
|
<ExpandedItem>object</ExpandedItem>
|
|
</Expand>
|
|
</Type>
|
|
|
|
<Type Name="vl::Nullable<*>">
|
|
<DisplayString Condition="object == 0">[empty]</DisplayString>
|
|
<DisplayString Condition="object != 0">{*object}</DisplayString>
|
|
<Expand>
|
|
<ExpandedItem Condition="object != 0">*object</ExpandedItem>
|
|
</Expand>
|
|
</Type>
|
|
|
|
</AutoVisualizer>
|