Skip to content

DomainProtobufSerializer to TypeModel.Create #1

Description

@khiem2794

Hello,
I just want to ask a quick question about this piece of code in your project

  _zone = new ClientZone(
        ClientEntityFactory.Default,
        new ProtobufChannelToServerZoneOutbound
        {
            TypeTable = new TypeAliasTable(),
            TypeModel = new DomainProtobufSerializer(),
            OutboundChannel = this
        });

    _zoneChannel = new ProtobufChannelToClientZoneInbound
    {
        TypeTable = new TypeAliasTable(),
        TypeModel = new DomainProtobufSerializer(),
        InboundClientZone = _zone
    };

I wonder if I could write TypeModel = TypeModel.Create() when init the zones ? Does it cause any drawbacks
And thank you for a great project, a very helpful one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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