Skip to content

泛型的序列化反序列化问题 #83

Open
@superaccount

Description

@superaccount

当服务端与客户端存在一个声明如下的类型时
class Item { public T Value {get;set;} }
由服务端序列化一个Item source = new Item();对象并传输至客户端
客户端反序列化时生成的类型限定名称为Item.1.System.String
导致客户端无法从程序集中根据名称创建类型

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions