Skip to content
This repository was archived by the owner on May 16, 2022. It is now read-only.

Attribute decorate existing classes at runtime / Run with no decoration. #122

@AnudeepGarge

Description

@AnudeepGarge

I have the following schema in my existing project.

[Serializable]
public class Message {
public virtual string Type {get; set;}
}
[Serializable]
class ByteMessage : Message {
public byte[] Prop2 {get;set;}
}

public class StringMessage : Message {
public string Prop3 {get; set;}
}
and 1000 of classes like this.

Currently using BinaryFormatter successfully, but lately I am seeing lot of performance issues and came across this wonderful library.
Is there a way I can continue without decorating [ZeroFormattable] and [Index] attribute?
What would be the best way to migrate all DTO types efficiently?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions