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
+2 -2
View File
@@ -29,7 +29,7 @@
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Controlling.UsrActivity;
using StgSharp.MVVM.View;
using StgSharp.MVVM;
using System;
using System.Collections.Generic;
@@ -48,7 +48,7 @@ namespace StgSharp
public Control( ViewMain view ) : base( view ) { }
public override void CustomizedInitialize(
Func<IClickTrigger, string, Action> keyRegister ) { }
Func<IClickTrigger, string, Action> keyRegister ) { }
public override bool ValidateInitializing()
{
+3 -12
View File
@@ -48,17 +48,9 @@ namespace StgSharp
public partial class ViewMain
{
internal DemoButtonGroup Group
{
get;
set;
}
internal DemoButtonGroup Group { get; set; }
internal TriggerButton OnlyButton
{
get;
set;
}
internal TriggerButton OnlyButton { get; set; }
internal class Design : ViewDesigner<ViewMain>
{
@@ -74,8 +66,7 @@ namespace StgSharp
new KeyTrigger( KeyboardKey.Down, KeyStatus.PRESS ),
new KeyTrigger( KeyboardKey.Enter, KeyStatus.PRESS ) );
Binding.OnlyButton = CreateKeyboardButton(
Binding.Stream.ButtonBounding,
Binding.Stream.ButtonTextureProvider, true );
Binding.Stream.ButtonBounding, Binding.Stream.ButtonTextureProvider, true );
Binding.OnlyButton.RenderButtonTexture += Binding.Stream.RenderButton;
}
+1 -5
View File
@@ -44,11 +44,7 @@ namespace StgSharp
public partial class ViewMain
{
public ParticleRenderStream Stream
{
get;
set;
}
public ParticleRenderStream Stream { get; set; }
private class NewRender : ViewRender<ViewMain>
{
+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;
}