不知各位大佬有沒有知道在專案中的.bond檔案是干什么用的啊。我差不多能猜出來,但是實在不知道是什么原理的。
具體差不多就是一個類檔案.cs檔案,他會對應一個同名的.bond檔案。在這個cs檔案中會有一些屬性、建構式被寫在類名_types.cs的檔案中(估計和這個bond檔案有關。)。但是我去沒在專案中找到這個_types.cs檔案。有沒有知道的道友,幫小弟度個劫。!!!謝過了先!!!
uj5u.com熱心網友回復:
沒聽說過,應該是業務相關的檔案,和.net無關。uj5u.com熱心網友回復:
并不是的哦.uj5u.com熱心網友回復:
.bond 不是 C# 固有檔案,其含義由使用他的應用程式解釋bond
英 [b?nd] 美 [bɑ:nd]
n. 債券;紐帶;聯系;保釋金
v. 使結合;建立互信關系;與…緊密聯系;與…黏合
uj5u.com熱心網友回復:
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.
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/261939.html
標籤:C#
上一篇:《ASP.NET Web 程式設計》書上案例的源代碼在哪下載
下一篇:為什么外文科技書比較好
