Daily update on 20250618-051714 by Nitload Youmu. Additional Message : Brief support to collection operation in EXPRESS. A collection type added in core lib and compilestack.

Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
Nitload
2025-06-18 05:17:14 +08:00
parent 74c01effe4
commit c624a8ca38
300 changed files with 12227 additions and 4303 deletions
+6 -8
View File
@@ -30,7 +30,6 @@
//-----------------------------------------------------------------------
using StgSharp.Graphics;
using StgSharp.MVVM;
using StgSharp.MVVM.View;
using StgSharp.MVVM.ViewModel;
using System;
@@ -53,8 +52,7 @@ namespace StgSharp
_databindingIndexMap = new Dictionary<string, DataBindingEntry>();
}
public override void CustomizedInitialize(
[NotNull]ViewModelBase viewModelBinding )
public override void CustomizedInitialize( [NotNull]ViewModelBase viewModelBinding )
{
Designer = new Design( this );
Responder = new Control( this );
@@ -65,21 +63,21 @@ namespace StgSharp
Responder.Initialize( viewModelBinding.MethodLookup );
}
public override bool TryGetObjectReference(
string name,
out DataBindingEntry entry )
public override bool TryGetObjectReference( string name, out DataBindingEntry entry )
{
if( _databindingIndexMap.TryGetValue( name, out entry ) ) {
return true;
}
try {
try
{
entry = name switch
{
_ => default( DataBindingEntry ),
};
return !entry.ExactEqual( default( DataBindingEntry ) );
}
catch( Exception ) {
catch( Exception )
{
entry = default( DataBindingEntry );
return false;
}