mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-02 15:50:47 +08:00
更新了代码生成器的生成逻辑。
修复了Emit对于集合类型创建委托时,类型指定Bug。
This commit is contained in:
@@ -154,13 +154,13 @@ namespace Serein.Library
|
||||
{
|
||||
if (emitType == EmitType.CollectionSetter)
|
||||
{
|
||||
emitType = EmitType.CollectionSetter;
|
||||
this.emitType = EmitType.CollectionSetter;
|
||||
collectionSetter = EmitHelper.CreateCollectionSetter(type);
|
||||
|
||||
}
|
||||
else if (emitType == EmitType.CollectionGetter)
|
||||
{
|
||||
emitType = EmitType.CollectionGetter;
|
||||
this.emitType = EmitType.CollectionGetter;
|
||||
collectionGetter = EmitHelper.CreateCollectionGetter(type);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user