Protobuf C# с настраиваемыми атрибутамиC#

Место общения программистов C#
Anonymous
Protobuf C# с настраиваемыми атрибутами

Сообщение Anonymous »

Я хочу сгенерировать код protobuf C# с настраиваемыми атрибутами.
например:
public sealed partial class LoginIn : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
[mycall] // customize attributes
[global::System.Diagnostics.DebuggerNonUserCodeAttribute] // original
public LoginIn() {
OnConstruction();
}
... // rest code


Подробнее здесь: https://stackoverflow.com/questions/648 ... attributes

Вернуться в «C#»