c# - Messagepack, CSharp and Abstract Classes -
i have following code:
_serializerresponse = messagepackserializer .get<abstractwebresponse>();
and try messagepackserializer!
but gives me following error:
this operation not supported because 'abstractwebresponse' cannot instanciated.
yes, abstractwebresponse can not instaciated, it's child classes wich try serialize (and deserialize) can! , need so, because don't know type of class @ deserialization time! not transmited in data stream works?
Comments
Post a Comment