C#项目中的.bond文件

西瓜Code 2018-09-26 04:09:25
不知各位大佬有没有知道在项目中的.bond文件是干什么用的啊。我差不多能猜出来,但是实在不知道是什么原理的。
具体差不多就是一个类文件.cs文件,他会对应一个同名的.bond文件。在这个cs文件中会有一些属性、构造函数被写在类名_types.cs的文件中(估计和这个bond文件有关。)。但是我去没在项目中找到这个_types.cs文件。有没有知道的道友,帮小弟度个劫。!!!谢过了先!!!
...全文
678 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
louriali 2021-02-21
  • 打赏
  • 举报
回复
Bond is an extensible framework for working with schematized data. It is suitable for scenarios ranging from service communications to Big Data storage and processing. Bond defines a rich type system and schema evolution rules which allow forward and backward compatibility. The core Bond features include high performance serialization/deserialization and a very powerful, generic data transform mechanism. The framework is highly extensible via pluggable serialization protocols, data streams, user defined type aliases and more. By design Bond is language and platform independent and is currently supported for C++, C#, Java, and Python on Linux, macOS, and Windows. Bond is published on GitHub at https://github.com/microsoft/bond/ https://microsoft.github.io/bond/manual/bond_cs.html#:~:text=In%20Bond%20data%20schemas%20are%20defined%20using%20idl-like,generates%20C#%20code%20corresponding%20to%20the%20schema%20definition.
西瓜Code 2018-09-27
  • 打赏
  • 举报
回复
并不是的哦.
xuzuning 2018-09-27
  • 打赏
  • 举报
回复
.bond 不是 C# 固有文件,其含义由使用他的应用程序解释

bond
英 [bɒnd] 美 [bɑ:nd]
n. 债券;纽带;联系;保释金
v. 使结合;建立互信关系;与…紧密联系;与…黏合
圣殿骑士18 2018-09-26
  • 打赏
  • 举报
回复
没听说过,应该是业务相关的文件,和.net无关。

111,094

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧