pathFigureCollectionConverter
全部标签在MAUI里,可以使用PathFigureCollectionConverter将Path字符串转换为PathFigureCollection对象,从而实现从Path字符串转换为路径几何。然而这个PathFigureCollectionConverter转换器非线程安全,即使创建多个实例对象,依然由于内部的静态字段导致非线程安全,本文将记录此问题的原理当前,此PathFigureCollectionConverter非线程安全问题,没有规避方法我将此问题报告给官方,请看https://github.com/dotnet/maui/issues/11321然后官方说,你也是Member了,是一个
在MAUI里,可以使用PathFigureCollectionConverter将Path字符串转换为PathFigureCollection对象,从而实现从Path字符串转换为路径几何。然而这个PathFigureCollectionConverter转换器非线程安全,即使创建多个实例对象,依然由于内部的静态字段导致非线程安全,本文将记录此问题的原理当前,此PathFigureCollectionConverter非线程安全问题,没有规避方法我将此问题报告给官方,请看https://github.com/dotnet/maui/issues/11321然后官方说,你也是Member了,是一个