diff --git a/App/Hi.WpfPlus.dll b/App/Hi.WpfPlus.dll index 28152ce6..6cb7a5ef 100644 Binary files a/App/Hi.WpfPlus.dll and b/App/Hi.WpfPlus.dll differ diff --git a/App/HiCbtr.dll b/App/HiCbtr.dll index 8c7ce634..5b174136 100644 Binary files a/App/HiCbtr.dll and b/App/HiCbtr.dll differ diff --git a/App/HiDisp.dll b/App/HiDisp.dll index 8820e0c0..74d3d039 100644 Binary files a/App/HiDisp.dll and b/App/HiDisp.dll differ diff --git a/App/HiGeom.dll b/App/HiGeom.dll index af6baca1..abf8d23f 100644 Binary files a/App/HiGeom.dll and b/App/HiGeom.dll differ diff --git a/App/HiLicense.dll b/App/HiLicense.dll index 58612a26..47f9b3b2 100644 Binary files a/App/HiLicense.dll and b/App/HiLicense.dll differ diff --git a/App/HiMech.dll b/App/HiMech.dll index d924cb78..8397e232 100644 Binary files a/App/HiMech.dll and b/App/HiMech.dll differ diff --git a/App/HiNC-2025-win-desktop.deps.json b/App/HiNC-2025-win-desktop.deps.json index 36d297f1..6cf73fad 100644 --- a/App/HiNC-2025-win-desktop.deps.json +++ b/App/HiNC-2025-win-desktop.deps.json @@ -11,9 +11,9 @@ "dependencies": { "AvalonEdit": "6.3.0.90", "FontAwesome.Sharp": "6.3.0", - "Hi.WpfPlus": "3.1.142", - "HiNc": "3.1.174", - "HiNc-Resource": "3.1.57", + "Hi.WpfPlus": "3.1.143", + "HiNc": "3.1.175", + "HiNc-Resource": "3.1.58", "Serilog.Extensions.Hosting": "10.0.0", "Serilog.Sinks.Console": "6.1.1", "Serilog.Sinks.File": "7.0.0", @@ -1598,36 +1598,36 @@ } } }, - "Hi.WpfPlus/3.1.142": { + "Hi.WpfPlus/3.1.143": { "dependencies": { - "HiDisp": "3.1.148" + "HiDisp": "3.1.149" }, "runtime": { "lib/net10.0-windows7.0/Hi.WpfPlus.dll": { - "assemblyVersion": "3.1.142.0", - "fileVersion": "3.1.142.0" + "assemblyVersion": "3.1.143.0", + "fileVersion": "3.1.143.0" } } }, - "HiCbtr/3.1.145": { + "HiCbtr/3.1.146": { "dependencies": { - "HiDisp": "3.1.148" + "HiDisp": "3.1.149" }, "runtime": { "lib/net10.0/HiCbtr.dll": { - "assemblyVersion": "3.1.145.0", - "fileVersion": "3.1.145.0" + "assemblyVersion": "3.1.146.0", + "fileVersion": "3.1.146.0" } } }, - "HiDisp/3.1.148": { + "HiDisp/3.1.149": { "dependencies": { - "HiGeom": "3.1.136" + "HiGeom": "3.1.137" }, "runtime": { "lib/net10.0/HiDisp.dll": { - "assemblyVersion": "3.1.148.0", - "fileVersion": "3.1.148.0" + "assemblyVersion": "3.1.149.0", + "fileVersion": "3.1.149.0" } }, "native": { @@ -1645,15 +1645,15 @@ } } }, - "HiGeom/3.1.136": { + "HiGeom/3.1.137": { "dependencies": { "MathNet.Numerics": "5.0.0", "Microsoft.CodeAnalysis.Scripting.Common": "5.3.0" }, "runtime": { "lib/net10.0/HiGeom.dll": { - "assemblyVersion": "3.1.136.0", - "fileVersion": "3.1.136.0" + "assemblyVersion": "3.1.137.0", + "fileVersion": "3.1.137.0" } }, "resources": { @@ -1665,27 +1665,27 @@ } } }, - "HiLicense/3.1.138": { + "HiLicense/3.1.139": { "dependencies": { - "HiGeom": "3.1.136" + "HiGeom": "3.1.137" }, "runtime": { "lib/net10.0/HiLicense.dll": { - "assemblyVersion": "3.1.138.0", - "fileVersion": "3.1.138.0" + "assemblyVersion": "3.1.139.0", + "fileVersion": "3.1.139.0" } } }, - "HiMech/3.1.156": { + "HiMech/3.1.157": { "dependencies": { "CommandLineParser": "2.9.1", - "HiCbtr": "3.1.145", + "HiCbtr": "3.1.146", "Microsoft.CodeAnalysis.CSharp.Scripting": "5.3.0" }, "runtime": { "lib/net10.0/HiMech.dll": { - "assemblyVersion": "3.1.156.0", - "fileVersion": "3.1.156.0" + "assemblyVersion": "3.1.157.0", + "fileVersion": "3.1.157.0" } }, "resources": { @@ -1700,18 +1700,18 @@ } } }, - "HiNc/3.1.174": { + "HiNc/3.1.175": { "dependencies": { "Dapper": "2.1.35", - "HiLicense": "3.1.138", - "HiMech": "3.1.156", - "HiUniNc": "3.1.151", + "HiLicense": "3.1.139", + "HiMech": "3.1.157", + "HiUniNc": "3.1.152", "Microsoft.Data.Sqlite": "9.0.0" }, "runtime": { "lib/net10.0/HiNc.dll": { - "assemblyVersion": "3.1.174.0", - "fileVersion": "3.1.174.0" + "assemblyVersion": "3.1.175.0", + "fileVersion": "3.1.175.0" } }, "resources": { @@ -1723,22 +1723,22 @@ } } }, - "HiNc-Resource/3.1.57": { + "HiNc-Resource/3.1.58": { "runtime": { "lib/net10.0/HiNc-Resource.dll": { - "assemblyVersion": "3.1.57.0", - "fileVersion": "3.1.57.0" + "assemblyVersion": "3.1.58.0", + "fileVersion": "3.1.58.0" } } }, - "HiUniNc/3.1.151": { + "HiUniNc/3.1.152": { "dependencies": { - "HiMech": "3.1.156" + "HiMech": "3.1.157" }, "runtime": { "lib/net10.0/HiUniNc.dll": { - "assemblyVersion": "3.1.151.0", - "fileVersion": "3.1.151.0" + "assemblyVersion": "3.1.152.0", + "fileVersion": "3.1.152.0" } } }, @@ -2117,68 +2117,68 @@ "path": "fontawesome.sharp/6.3.0", "hashPath": "fontawesome.sharp.6.3.0.nupkg.sha512" }, - "Hi.WpfPlus/3.1.142": { + "Hi.WpfPlus/3.1.143": { "type": "package", "serviceable": true, - "sha512": "sha512-I1O7HrANDPwLaB+zfRXs9GflyFNxtiJ2zGNKDLHAvF5Mo+lFUtU5rxYCxq/fRZJbcjv2Crrc8mlJ8namoIcHUQ==", - "path": "hi.wpfplus/3.1.142", - "hashPath": "hi.wpfplus.3.1.142.nupkg.sha512" + "sha512": "sha512-NqoWlkW+y+6uGCx+Ptngc5kreX0g2wXfZiyrnvrpwTzndBZxJSTy9t+rLHxTI8EcKD71kRtNd5p57P3LgJHLkQ==", + "path": "hi.wpfplus/3.1.143", + "hashPath": "hi.wpfplus.3.1.143.nupkg.sha512" }, - "HiCbtr/3.1.145": { + "HiCbtr/3.1.146": { "type": "package", "serviceable": true, - "sha512": "sha512-Ab/TIbJYrnQnuWpu1N27nTf+f5kGEiBAh86o1hVLUT4xVYQDxpnTSJ9m2M3iulDtcWhYWElonGMGbAu4yyr/gQ==", - "path": "hicbtr/3.1.145", - "hashPath": "hicbtr.3.1.145.nupkg.sha512" + "sha512": "sha512-5AjDVQo4agjjH0bqY/l62sTTU93kt+FBlNK231qLli+qn7loalh0dCaYA5r4pindPKaQuvgvDs6atvRfN7JlVA==", + "path": "hicbtr/3.1.146", + "hashPath": "hicbtr.3.1.146.nupkg.sha512" }, - "HiDisp/3.1.148": { + "HiDisp/3.1.149": { "type": "package", "serviceable": true, - "sha512": "sha512-hQzKxONIuGYUWKT7/tc9Pjye440gdWIYQ5eKoklFVCc6r3IN40UST18T98y92sq158cypuQ57cN2X/4iE7o6zw==", - "path": "hidisp/3.1.148", - "hashPath": "hidisp.3.1.148.nupkg.sha512" + "sha512": "sha512-yz18mPtwkDOzOL0RnPOJZOD15LSbJ2sLIw7mhTFOJ6i0oCDJFh3Qm5z1g+fOxWf72hQxlIH6vyOu+wVSJ37CtA==", + "path": "hidisp/3.1.149", + "hashPath": "hidisp.3.1.149.nupkg.sha512" }, - "HiGeom/3.1.136": { + "HiGeom/3.1.137": { "type": "package", "serviceable": true, - "sha512": "sha512-QisKmDbZ2SoEa4clTi397VB+FlbmuUR+vW5oqdMO5HU3XDTqWZ2y3XUt99K+zSoB7ngtHAXAVkRJQDvOsS9ZaA==", - "path": "higeom/3.1.136", - "hashPath": "higeom.3.1.136.nupkg.sha512" + "sha512": "sha512-9nfvREp+KOztgfAAOzD7ZL+Tzh39vFnr2f4ATwS0v5Zg+eo6++iXEI1BVz1P3EhsEJHfPoRYhw+MnNX5834YEg==", + "path": "higeom/3.1.137", + "hashPath": "higeom.3.1.137.nupkg.sha512" }, - "HiLicense/3.1.138": { + "HiLicense/3.1.139": { "type": "package", "serviceable": true, - "sha512": "sha512-zsReBAVZ7Pjh9ZxEvZkLzvBAKWLaw2rNb5uIMaudrb/sdJwcFvATeAe/8BGn3rTASjrpXBB9wFFTadtfpf5t8w==", - "path": "hilicense/3.1.138", - "hashPath": "hilicense.3.1.138.nupkg.sha512" + "sha512": "sha512-jzSJBGgeEhCvrDNwYIiMjLd4cI1GgXuC9ryUon12iYl3LFcmghMkffkmzxhAJqO2e8mt4cja/IaUJ2h7pKmjiQ==", + "path": "hilicense/3.1.139", + "hashPath": "hilicense.3.1.139.nupkg.sha512" }, - "HiMech/3.1.156": { + "HiMech/3.1.157": { "type": "package", "serviceable": true, - "sha512": "sha512-76pYizkB6Tzr9RkHiiu36eUejIEhmwy/37GoFGR4UFJY3zLJVBtlku1BYq4FsRCG/HJOtAzGCxweqix1jkmGbQ==", - "path": "himech/3.1.156", - "hashPath": "himech.3.1.156.nupkg.sha512" + "sha512": "sha512-qRPonSJot3XkDs4ELGyDJXU8wCH0pZxXifCTQdV066rybUMtYtAi3tYZXvm5qhdwv72LrV1UimvAtnAL1+riPg==", + "path": "himech/3.1.157", + "hashPath": "himech.3.1.157.nupkg.sha512" }, - "HiNc/3.1.174": { + "HiNc/3.1.175": { "type": "package", "serviceable": true, - "sha512": "sha512-BUs6pZ4aDLArmwSc9JP/cgUf+JuRj4/d8ZSUbccV+t8rDuZ7vtNSWtPPiPKEmPJDIRR2OHp5Jy0odzfpP8KaXA==", - "path": "hinc/3.1.174", - "hashPath": "hinc.3.1.174.nupkg.sha512" + "sha512": "sha512-vO9UmlkXx6JRqQXa7UFkmB98swYACPShAT1ntSAgxsCQuWojNR0RGHoCew9cDaRltDrUZ4kHreDNYXi7C+8gNA==", + "path": "hinc/3.1.175", + "hashPath": "hinc.3.1.175.nupkg.sha512" }, - "HiNc-Resource/3.1.57": { + "HiNc-Resource/3.1.58": { "type": "package", "serviceable": true, - "sha512": "sha512-lYgRxhqeGNycGkhoRRg0TlF6xwXc0D26tDilhoiNkd34/U5Ev4LhnjhKoDSij9xWxi8ZyOX7vvLfdjPK56d26Q==", - "path": "hinc-resource/3.1.57", - "hashPath": "hinc-resource.3.1.57.nupkg.sha512" + "sha512": "sha512-syXWolXo2nF6+DYk4W5BLjLMCS+apVtuvph3CMnetxlczhqpCzfQ1yWQ1ufz3VB/vixcZw/4FCbmdmDgVYPvIA==", + "path": "hinc-resource/3.1.58", + "hashPath": "hinc-resource.3.1.58.nupkg.sha512" }, - "HiUniNc/3.1.151": { + "HiUniNc/3.1.152": { "type": "package", "serviceable": true, - "sha512": "sha512-8Acx1Tue9MxUpo9wOK9TrjHOhFlulaXTtPzcpH+LrZg3OduJKxd/pM9ZuOprgXrpzaxdn3A84u2CM8yw9DMzIA==", - "path": "hiuninc/3.1.151", - "hashPath": "hiuninc.3.1.151.nupkg.sha512" + "sha512": "sha512-f9i0ALWqfwMJTU3PMdSjh0yCK0aJ1ZG4zMDoOk0OpAt+vpwUrQ0n6IH/Q1y/OtZR8F4d2IsEbvej7UUOM+8rnA==", + "path": "hiuninc/3.1.152", + "hashPath": "hiuninc.3.1.152.nupkg.sha512" }, "MathNet.Numerics/5.0.0": { "type": "package", diff --git a/App/HiNC-2025-win-desktop.dll b/App/HiNC-2025-win-desktop.dll index 976480bc..f365b97c 100644 Binary files a/App/HiNC-2025-win-desktop.dll and b/App/HiNC-2025-win-desktop.dll differ diff --git a/App/HiNC-2025-win-desktop.pdb b/App/HiNC-2025-win-desktop.pdb index 21a2b752..0667a186 100644 Binary files a/App/HiNC-2025-win-desktop.pdb and b/App/HiNC-2025-win-desktop.pdb differ diff --git a/App/HiNc-Resource.dll b/App/HiNc-Resource.dll index 04773764..53de84c0 100644 Binary files a/App/HiNc-Resource.dll and b/App/HiNc-Resource.dll differ diff --git a/App/HiNc.dll b/App/HiNc.dll index 7c57f72a..58004416 100644 Binary files a/App/HiNc.dll and b/App/HiNc.dll differ diff --git a/App/HiUniNc.dll b/App/HiUniNc.dll index c3a525c5..595ce200 100644 Binary files a/App/HiUniNc.dll and b/App/HiUniNc.dll differ diff --git a/App/en/HiGeom.resources.dll b/App/en/HiGeom.resources.dll index b178adfb..053d0b92 100644 Binary files a/App/en/HiGeom.resources.dll and b/App/en/HiGeom.resources.dll differ diff --git a/App/en/HiMech.resources.dll b/App/en/HiMech.resources.dll index 753a106e..401358d2 100644 Binary files a/App/en/HiMech.resources.dll and b/App/en/HiMech.resources.dll differ diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Common.XmlUtils.XFactory.html b/App/wwwroot/HiAPI-docsite/api/Hi.Common.XmlUtils.XFactory.html index 36a6d05c..9696bcc7 100644 --- a/App/wwwroot/HiAPI-docsite/api/Hi.Common.XmlUtils.XFactory.html +++ b/App/wwwroot/HiAPI-docsite/api/Hi.Common.XmlUtils.XFactory.html @@ -576,6 +576,63 @@ by each type's Reg(this) call.

+ + +

+ GenListSkippingUnloadable<T>(IEnumerable<XElement>, string, IProgress<object>, bool, object[]) + +

+ +

Deserializes each element of elements into a +T, skipping — instead of throwing on — any element +whose XName is not registered (e.g. a renamed or removed component) or +whose generator throws. Each skipped element is reported to +progress as a Warning. +Use when a partially-loadable list (such as a saved pipeline whose schema +has drifted while a feature is in development) is preferable to aborting +the whole load.

+
+
+ +
+
public static List<T> GenListSkippingUnloadable<T>(IEnumerable<XElement> elements, string baseDirectory, IProgress<object> progress, bool enableRebase = true, object[] res = null) where T : class
+
+ +

Parameters

+
+
elements IEnumerable<XElement>
+
+
baseDirectory string
+
+
progress IProgress<object>
+
+
enableRebase bool
+
+
res object[]
+
+
+ +

Returns

+
+
List<T>
+
+
+ +

Type Parameters

+
+
T
+
+
+ + + + + + + + + +

diff --git a/App/wwwroot/HiAPI-docsite/index.json b/App/wwwroot/HiAPI-docsite/index.json index 8462d1ec..603e6bac 100644 --- a/App/wwwroot/HiAPI-docsite/index.json +++ b/App/wwwroot/HiAPI-docsite/index.json @@ -1017,7 +1017,7 @@ "api/Hi.Common.XmlUtils.XFactory.html": { "href": "api/Hi.Common.XmlUtils.XFactory.html", "title": "Class XFactory | HiAPI-C# 2025", - "summary": "Class XFactory Namespace Hi.Common.XmlUtils Assembly HiGeom.dll Factory for generating objects from XML elements using registered generator functions. public class XFactory Inheritance object XFactory Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Extension Methods DuplicateUtil.TryDuplicate(TSelf, params object[]) InvokeUtil.SelfInvoke(TSrc, Action) InvokeUtil.SelfInvoke(TSrc, Func) ColorUtil.GetGloomyColor(object, double, double) NameUtil.GetSelectionName(object) StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool) LockUtil.Lock(object) Remarks Each XFactory instance owns its own Generators registry. A process-wide Default singleton serves the common case (single shared factory across the simulation pipeline); other instances can be created for test isolation or parallel pipelines that need disjoint registries. Types that participate in XML round-trip expose a public static void Reg(XFactory factory = null) method that adds themselves (and chains Reg(factory) on dependents) to the given factory's Generators. Boot roots (e.g. LocalProjectService.Reg()) call the top-level Reg() once at startup with the default factory. The static Gen / GenByChild / GenByFile entry points always read from Default. Callers that need to deserialize from a custom factory's registry must look up the delegate via factory.Generators[xname] directly. Properties Default Process-wide default factory used by the static Gen family. Reg-style methods register here when called with no explicit factory argument. public static XFactory Default { get; } Property Value XFactory Generators XML-name → generator-function map for this factory instance. Populated by each type's Reg(this) call. public Dictionary Generators { get; } Property Value Dictionary Methods GenByChild(XElement, string, IProgress, bool, object[]) Generates an object of type T from the first child element (discards relative file path). public static T GenByChild(XElement src, string baseDirectory, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters src XElement baseDirectory string progress IProgress enableRebase bool res object[] Returns T Type Parameters T GenByChild(XElement, string, out string, IProgress, bool, object[]) Generates an object of type T from the first child element of the provided XML element. public static T GenByChild(XElement src, string baseDirectory, out string relFile, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters src XElement baseDirectory string relFile string progress IProgress enableRebase bool res object[] Returns T Type Parameters T GenByFile(string, string, IProgress, bool, object[]) Generates an object of type T from an XML file. public static T GenByFile(string baseDirectory, string relFile, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters baseDirectory string relFile string progress IProgress enableRebase bool res object[] Returns T Type Parameters T GenFileRefSourceByChild(XElement, string, IProgress, bool, object[]) Generates a FileRefSource from the first child element. public static FileRefSource GenFileRefSourceByChild(XElement src, string baseDirectory, IProgress progress, bool enableRebase = true, object[] res = null) where T : class, IMakeXmlSource Parameters src XElement baseDirectory string progress IProgress enableRebase bool res object[] Returns FileRefSource Type Parameters T GenFileRefSourceByFile(string, string, IProgress, bool, object[]) Generates a FileRefSource from an XML file. public static FileRefSource GenFileRefSourceByFile(string baseDirectory, string relFile, IProgress progress, bool enableRebase = true, object[] res = null) where T : class, IMakeXmlSource Parameters baseDirectory string relFile string progress IProgress enableRebase bool res object[] Returns FileRefSource Type Parameters T GenFileRefSource(XElement, string, IProgress, bool, object[]) Generates a FileRefSource from an XML element. public static FileRefSource GenFileRefSource(XElement src, string baseDirectory, IProgress progress, bool enableRebase = true, object[] res = null) where T : class, IMakeXmlSource Parameters src XElement baseDirectory string progress IProgress enableRebase bool res object[] Returns FileRefSource Type Parameters T Gen(XElement, string, IProgress, bool, object[]) Generates an object of type T from an XML element (discards relative file path). public static T Gen(XElement src, string baseDirectory, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters src XElement baseDirectory string progress IProgress enableRebase bool res object[] Returns T Type Parameters T Gen(XElement, string, out string, IProgress, bool, object[]) Generates an object of type T from an XML element using Default. public static T Gen(XElement src, string baseDirectory, out string relFile, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters src XElement baseDirectory string relFile string progress IProgress enableRebase bool res object[] Returns T Type Parameters T" + "summary": "Class XFactory Namespace Hi.Common.XmlUtils Assembly HiGeom.dll Factory for generating objects from XML elements using registered generator functions. public class XFactory Inheritance object XFactory Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Extension Methods DuplicateUtil.TryDuplicate(TSelf, params object[]) InvokeUtil.SelfInvoke(TSrc, Action) InvokeUtil.SelfInvoke(TSrc, Func) ColorUtil.GetGloomyColor(object, double, double) NameUtil.GetSelectionName(object) StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool) LockUtil.Lock(object) Remarks Each XFactory instance owns its own Generators registry. A process-wide Default singleton serves the common case (single shared factory across the simulation pipeline); other instances can be created for test isolation or parallel pipelines that need disjoint registries. Types that participate in XML round-trip expose a public static void Reg(XFactory factory = null) method that adds themselves (and chains Reg(factory) on dependents) to the given factory's Generators. Boot roots (e.g. LocalProjectService.Reg()) call the top-level Reg() once at startup with the default factory. The static Gen / GenByChild / GenByFile entry points always read from Default. Callers that need to deserialize from a custom factory's registry must look up the delegate via factory.Generators[xname] directly. Properties Default Process-wide default factory used by the static Gen family. Reg-style methods register here when called with no explicit factory argument. public static XFactory Default { get; } Property Value XFactory Generators XML-name → generator-function map for this factory instance. Populated by each type's Reg(this) call. public Dictionary Generators { get; } Property Value Dictionary Methods GenByChild(XElement, string, IProgress, bool, object[]) Generates an object of type T from the first child element (discards relative file path). public static T GenByChild(XElement src, string baseDirectory, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters src XElement baseDirectory string progress IProgress enableRebase bool res object[] Returns T Type Parameters T GenByChild(XElement, string, out string, IProgress, bool, object[]) Generates an object of type T from the first child element of the provided XML element. public static T GenByChild(XElement src, string baseDirectory, out string relFile, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters src XElement baseDirectory string relFile string progress IProgress enableRebase bool res object[] Returns T Type Parameters T GenByFile(string, string, IProgress, bool, object[]) Generates an object of type T from an XML file. public static T GenByFile(string baseDirectory, string relFile, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters baseDirectory string relFile string progress IProgress enableRebase bool res object[] Returns T Type Parameters T GenFileRefSourceByChild(XElement, string, IProgress, bool, object[]) Generates a FileRefSource from the first child element. public static FileRefSource GenFileRefSourceByChild(XElement src, string baseDirectory, IProgress progress, bool enableRebase = true, object[] res = null) where T : class, IMakeXmlSource Parameters src XElement baseDirectory string progress IProgress enableRebase bool res object[] Returns FileRefSource Type Parameters T GenFileRefSourceByFile(string, string, IProgress, bool, object[]) Generates a FileRefSource from an XML file. public static FileRefSource GenFileRefSourceByFile(string baseDirectory, string relFile, IProgress progress, bool enableRebase = true, object[] res = null) where T : class, IMakeXmlSource Parameters baseDirectory string relFile string progress IProgress enableRebase bool res object[] Returns FileRefSource Type Parameters T GenFileRefSource(XElement, string, IProgress, bool, object[]) Generates a FileRefSource from an XML element. public static FileRefSource GenFileRefSource(XElement src, string baseDirectory, IProgress progress, bool enableRebase = true, object[] res = null) where T : class, IMakeXmlSource Parameters src XElement baseDirectory string progress IProgress enableRebase bool res object[] Returns FileRefSource Type Parameters T GenListSkippingUnloadable(IEnumerable, string, IProgress, bool, object[]) Deserializes each element of elements into a T, skipping — instead of throwing on — any element whose XName is not registered (e.g. a renamed or removed component) or whose generator throws. Each skipped element is reported to progress as a Warning. Use when a partially-loadable list (such as a saved pipeline whose schema has drifted while a feature is in development) is preferable to aborting the whole load. public static List GenListSkippingUnloadable(IEnumerable elements, string baseDirectory, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters elements IEnumerable baseDirectory string progress IProgress enableRebase bool res object[] Returns List Type Parameters T Gen(XElement, string, IProgress, bool, object[]) Generates an object of type T from an XML element (discards relative file path). public static T Gen(XElement src, string baseDirectory, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters src XElement baseDirectory string progress IProgress enableRebase bool res object[] Returns T Type Parameters T Gen(XElement, string, out string, IProgress, bool, object[]) Generates an object of type T from an XML element using Default. public static T Gen(XElement src, string baseDirectory, out string relFile, IProgress progress, bool enableRebase = true, object[] res = null) where T : class Parameters src XElement baseDirectory string relFile string progress IProgress enableRebase bool res object[] Returns T Type Parameters T" }, "api/Hi.Common.XmlUtils.XmlUtil.html": { "href": "api/Hi.Common.XmlUtils.XmlUtil.html", diff --git a/App/wwwroot/HiAPI-docsite/xrefmap.yml b/App/wwwroot/HiAPI-docsite/xrefmap.yml index 2f94490e..26183240 100644 --- a/App/wwwroot/HiAPI-docsite/xrefmap.yml +++ b/App/wwwroot/HiAPI-docsite/xrefmap.yml @@ -16255,6 +16255,22 @@ references: fullName.vb: Hi.Common.XmlUtils.XFactory.GenFileRefSource(Of T)(System.Xml.Linq.XElement, String, System.IProgress(Of Object), Boolean, Object()) nameWithType: XFactory.GenFileRefSource(XElement, string, IProgress, bool, object[]) nameWithType.vb: XFactory.GenFileRefSource(Of T)(XElement, String, IProgress(Of Object), Boolean, Object()) +- uid: Hi.Common.XmlUtils.XFactory.GenListSkippingUnloadable* + name: GenListSkippingUnloadable + href: api/Hi.Common.XmlUtils.XFactory.html#Hi_Common_XmlUtils_XFactory_GenListSkippingUnloadable_ + commentId: Overload:Hi.Common.XmlUtils.XFactory.GenListSkippingUnloadable + isSpec: "True" + fullName: Hi.Common.XmlUtils.XFactory.GenListSkippingUnloadable + nameWithType: XFactory.GenListSkippingUnloadable +- uid: Hi.Common.XmlUtils.XFactory.GenListSkippingUnloadable``1(System.Collections.Generic.IEnumerable{System.Xml.Linq.XElement},System.String,System.IProgress{System.Object},System.Boolean,System.Object[]) + name: GenListSkippingUnloadable(IEnumerable, string, IProgress, bool, object[]) + href: api/Hi.Common.XmlUtils.XFactory.html#Hi_Common_XmlUtils_XFactory_GenListSkippingUnloadable__1_System_Collections_Generic_IEnumerable_System_Xml_Linq_XElement__System_String_System_IProgress_System_Object__System_Boolean_System_Object___ + commentId: M:Hi.Common.XmlUtils.XFactory.GenListSkippingUnloadable``1(System.Collections.Generic.IEnumerable{System.Xml.Linq.XElement},System.String,System.IProgress{System.Object},System.Boolean,System.Object[]) + name.vb: GenListSkippingUnloadable(Of T)(IEnumerable(Of XElement), String, IProgress(Of Object), Boolean, Object()) + fullName: Hi.Common.XmlUtils.XFactory.GenListSkippingUnloadable(System.Collections.Generic.IEnumerable, string, System.IProgress, bool, object[]) + fullName.vb: Hi.Common.XmlUtils.XFactory.GenListSkippingUnloadable(Of T)(System.Collections.Generic.IEnumerable(Of System.Xml.Linq.XElement), String, System.IProgress(Of Object), Boolean, Object()) + nameWithType: XFactory.GenListSkippingUnloadable(IEnumerable, string, IProgress, bool, object[]) + nameWithType.vb: XFactory.GenListSkippingUnloadable(Of T)(IEnumerable(Of XElement), String, IProgress(Of Object), Boolean, Object()) - uid: Hi.Common.XmlUtils.XFactory.Gen``1(System.Xml.Linq.XElement,System.String,System.IProgress{System.Object},System.Boolean,System.Object[]) name: Gen(XElement, string, IProgress, bool, object[]) href: api/Hi.Common.XmlUtils.XFactory.html#Hi_Common_XmlUtils_XFactory_Gen__1_System_Xml_Linq_XElement_System_String_System_IProgress_System_Object__System_Boolean_System_Object___ diff --git a/App/zh-Hans/HiMech.resources.dll b/App/zh-Hans/HiMech.resources.dll index d696dc97..25ea4730 100644 Binary files a/App/zh-Hans/HiMech.resources.dll and b/App/zh-Hans/HiMech.resources.dll differ diff --git a/App/zh-Hans/HiNc.resources.dll b/App/zh-Hans/HiNc.resources.dll index cd317890..96ee96d4 100644 Binary files a/App/zh-Hans/HiNc.resources.dll and b/App/zh-Hans/HiNc.resources.dll differ diff --git a/App/zh-Hant/HiGeom.resources.dll b/App/zh-Hant/HiGeom.resources.dll index 9381a4cd..4d47ef98 100644 Binary files a/App/zh-Hant/HiGeom.resources.dll and b/App/zh-Hant/HiGeom.resources.dll differ diff --git a/App/zh-Hant/HiMech.resources.dll b/App/zh-Hant/HiMech.resources.dll index d4c9bdd4..c4d837ad 100644 Binary files a/App/zh-Hant/HiMech.resources.dll and b/App/zh-Hant/HiMech.resources.dll differ diff --git a/App/zh-Hant/HiNc.resources.dll b/App/zh-Hant/HiNc.resources.dll index b3f03246..974909f7 100644 Binary files a/App/zh-Hant/HiNc.resources.dll and b/App/zh-Hant/HiNc.resources.dll differ