├── .gitignore
├── Backup
├── HiProtobuf_0.2.0.zip
├── protobuf-csharp-3.8.0.zip
└── protoc-3.8.0-win64.zip
├── CopyToUnity.bat
├── Example
├── Excel
│ ├── Example.xlsx
│ └── Test.xlsx
├── Export
│ ├── dat
│ │ ├── Excel_Example.dat
│ │ └── Excel_Test.dat
│ ├── language
│ │ ├── cpp
│ │ │ ├── Example.pb.cc
│ │ │ ├── Example.pb.h
│ │ │ ├── Test.pb.cc
│ │ │ └── Test.pb.h
│ │ ├── csharp
│ │ │ ├── Example.cs
│ │ │ └── Test.cs
│ │ ├── csharpForILRumtime
│ │ │ ├── Example.cs
│ │ │ └── Test.cs
│ │ ├── csharp_dll
│ │ │ └── HiProtobuf.Excel.csharp.dll
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── HiProtobuf
│ │ │ │ └── HiProtobuf
│ │ │ │ ├── Example_classname.java
│ │ │ │ └── Test_classname.java
│ │ └── python
│ │ │ ├── Example_pb2.py
│ │ │ └── Test_pb2.py
│ └── proto
│ │ ├── Example.proto
│ │ └── Test.proto
└── HiProtobuf
│ ├── Config.xml
│ ├── EPPlus.dll
│ ├── EPPlus.xml
│ ├── Google.Protobuf.dll
│ ├── HiFramework.Assert.dll
│ ├── HiFramework.Log.dll
│ ├── HiProtobuf.Lib.dll
│ ├── HiProtobuf.Lib.pdb
│ ├── HiProtobuf.UI.exe
│ ├── HiProtobuf.UI.exe.config
│ ├── HiProtobuf.UI.pdb
│ └── protoc-3.8.0-win64
│ ├── bin
│ ├── protoc.exe
│ └── protocILRuntime.exe
│ ├── include
│ └── google
│ │ └── protobuf
│ │ ├── any.proto
│ │ ├── api.proto
│ │ ├── compiler
│ │ └── plugin.proto
│ │ ├── descriptor.proto
│ │ ├── duration.proto
│ │ ├── empty.proto
│ │ ├── field_mask.proto
│ │ ├── source_context.proto
│ │ ├── struct.proto
│ │ ├── timestamp.proto
│ │ ├── type.proto
│ │ └── wrappers.proto
│ └── readme.txt
├── Others
├── 7U7wQbS0FP.png
├── EXCEL_5u9BDIL5mX.png
├── VVbONwkevi.png
├── icZblwSnCx.png
└── qAn9ZhK3fO.png
├── README.md
└── src
├── HiProtobuf.Lib
├── Common.cs
├── Compiler.cs
├── DataHandler.cs
├── HiProtobuf.Lib.csproj
├── LanguageGenerater.cs
├── Manager.cs
├── Properties
│ └── AssemblyInfo.cs
├── ProtoGenerater.cs
├── ProtoHandler.cs
├── Settings.cs
├── bin
│ └── Debug
│ │ ├── Google.Protobuf.dll
│ │ ├── HiFramework.Assert.dll
│ │ ├── HiFramework.Log.dll
│ │ ├── HiProtobuf.Lib.dll
│ │ └── HiProtobuf.Lib.pdb
└── packages.config
├── HiProtobuf.Test
├── HiProtobuf.Test.csproj
├── Properties
│ └── AssemblyInfo.cs
├── UnitTest1.cs
├── bin
│ └── Debug
│ │ ├── EPPlus.dll
│ │ ├── EPPlus.xml
│ │ ├── Google.Protobuf.dll
│ │ ├── HiFramework.Assert.dll
│ │ ├── HiFramework.Log.dll
│ │ ├── HiProtobuf.Lib.dll
│ │ ├── HiProtobuf.Lib.pdb
│ │ ├── HiProtobuf.Test.dll
│ │ ├── HiProtobuf.Test.pdb
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
│ │ └── zh-Hans
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
└── packages.config
├── HiProtobuf.UI
├── App.config
├── Config.cs
├── HiProtobuf.Designer.cs
├── HiProtobuf.UI.csproj
├── HiProtobuf.UI.csproj.user
├── HiProtobuf.cs
├── HiProtobuf.resx
├── Logger.cs
├── Program.cs
├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
├── bin
│ └── Debug
│ │ ├── Config.xml
│ │ ├── Google.Protobuf.dll
│ │ ├── HiFramework.Assert.dll
│ │ ├── HiFramework.Log.dll
│ │ ├── HiProtobuf.Lib.dll
│ │ ├── HiProtobuf.Lib.pdb
│ │ ├── HiProtobuf.UI.exe
│ │ ├── HiProtobuf.UI.exe.config
│ │ ├── HiProtobuf.UI.pdb
│ │ └── protoc-3.8.0-win64
│ │ ├── bin
│ │ └── protoc.exe
│ │ ├── include
│ │ └── google
│ │ │ └── protobuf
│ │ │ ├── any.proto
│ │ │ ├── api.proto
│ │ │ ├── compiler
│ │ │ └── plugin.proto
│ │ │ ├── descriptor.proto
│ │ │ ├── duration.proto
│ │ │ ├── empty.proto
│ │ │ ├── field_mask.proto
│ │ │ ├── source_context.proto
│ │ │ ├── struct.proto
│ │ │ ├── timestamp.proto
│ │ │ ├── type.proto
│ │ │ └── wrappers.proto
│ │ └── readme.txt
└── packages.config
├── HiProtobuf.sln
├── HiProtobuf.sln.DotSettings.user
├── lib
└── Google.Protobuf.dll
└── packages
├── EPPlus.5.0.4
├── .signature.p7s
├── EPPlus.5.0.4.nupkg
├── EPPlusLogo.png
├── lib
│ ├── net35
│ │ ├── EPPlus.dll
│ │ └── EPPlus.xml
│ ├── net40
│ │ ├── EPPlus.dll
│ │ └── EPPlus.xml
│ ├── net45
│ │ ├── EPPlus.dll
│ │ └── EPPlus.xml
│ ├── netstandard2.0
│ │ ├── EPPlus.dll
│ │ └── EPPlus.xml
│ └── netstandard2.1
│ │ ├── EPPlus.dll
│ │ └── EPPlus.xml
├── license.md
└── readme.txt
├── HiFramework.Assert.1.0.2
├── .signature.p7s
├── HiFramework.Assert.1.0.2.nupkg
└── lib
│ └── net35
│ └── HiFramework.Assert.dll
├── HiFramework.Log.1.0.6
├── .signature.p7s
├── HiFramework.Log.1.0.6.nupkg
└── lib
│ └── net35
│ └── HiFramework.Log.dll
├── MSTest.TestAdapter.2.1.0
├── .signature.p7s
├── LICENSE.txt
├── MSTest.TestAdapter.2.1.0.nupkg
└── build
│ ├── _common
│ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
│ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
│ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.dll
│ ├── cs
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── de
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── es
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── fr
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── it
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── ja
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── ko
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── pl
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── pt
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── ru
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── tr
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── zh-Hans
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ └── zh-Hant
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
│ │ ├── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
│ │ └── Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
│ ├── net45
│ ├── MSTest.TestAdapter.props
│ └── MSTest.TestAdapter.targets
│ ├── netcoreapp1.0
│ ├── MSTest.TestAdapter.props
│ └── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
│ └── uap10.0
│ ├── MSTest.TestAdapter.props
│ ├── MSTest.TestAdapter.targets
│ └── Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
└── MSTest.TestFramework.2.1.0
├── .signature.p7s
├── LICENSE.txt
├── MSTest.TestFramework.2.1.0.nupkg
└── lib
├── net45
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
├── Microsoft.VisualStudio.TestPlatform.TestFramework.XML
├── Microsoft.VisualStudio.TestPlatform.TestFramework.dll
├── cs
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── de
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── es
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── fr
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── it
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── ja
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── ko
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── pl
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── pt
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── ru
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── tr
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── zh-Hans
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
└── zh-Hant
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── netstandard1.0
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
├── Microsoft.VisualStudio.TestPlatform.TestFramework.XML
├── Microsoft.VisualStudio.TestPlatform.TestFramework.dll
├── cs
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── de
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── es
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── fr
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── it
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── ja
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── ko
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── pl
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── pt
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── ru
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── tr
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── zh-Hans
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
└── zh-Hant
│ ├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
│ └── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
└── uap10.0
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.XML
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
├── Microsoft.VisualStudio.TestPlatform.TestFramework.XML
├── Microsoft.VisualStudio.TestPlatform.TestFramework.dll
├── cs
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── de
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── es
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── fr
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── it
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── ja
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── ko
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── pl
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── pt
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── ru
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── tr
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
├── zh-Hans
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
└── zh-Hant
├── Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml
└── Microsoft.VisualStudio.TestPlatform.TestFramework.xml
/.gitignore:
--------------------------------------------------------------------------------
1 | /src/HiProtobuf.UI/obj
2 | */obj
3 | /src/HiProtobuf.Lib/obj
4 | /src/HiProtobuf.Test/obj
5 | /src/.vs
6 |
--------------------------------------------------------------------------------
/Backup/HiProtobuf_0.2.0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Backup/HiProtobuf_0.2.0.zip
--------------------------------------------------------------------------------
/Backup/protobuf-csharp-3.8.0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Backup/protobuf-csharp-3.8.0.zip
--------------------------------------------------------------------------------
/Backup/protoc-3.8.0-win64.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Backup/protoc-3.8.0-win64.zip
--------------------------------------------------------------------------------
/CopyToUnity.bat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/CopyToUnity.bat
--------------------------------------------------------------------------------
/Example/Excel/Example.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/Excel/Example.xlsx
--------------------------------------------------------------------------------
/Example/Excel/Test.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/Excel/Test.xlsx
--------------------------------------------------------------------------------
/Example/Export/dat/Excel_Example.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/Export/dat/Excel_Example.dat
--------------------------------------------------------------------------------
/Example/Export/dat/Excel_Test.dat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/Export/dat/Excel_Test.dat
--------------------------------------------------------------------------------
/Example/Export/language/csharp_dll/HiProtobuf.Excel.csharp.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/Export/language/csharp_dll/HiProtobuf.Excel.csharp.dll
--------------------------------------------------------------------------------
/Example/Export/language/python/Test_pb2.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | # Generated by the protocol buffer compiler. DO NOT EDIT!
3 | # source: Test.proto
4 |
5 | import sys
6 | _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
7 | from google.protobuf import descriptor as _descriptor
8 | from google.protobuf import message as _message
9 | from google.protobuf import reflection as _reflection
10 | from google.protobuf import symbol_database as _symbol_database
11 | # @@protoc_insertion_point(imports)
12 |
13 | _sym_db = _symbol_database.Default()
14 |
15 |
16 |
17 |
18 | DESCRIPTOR = _descriptor.FileDescriptor(
19 | name='Test.proto',
20 | package='HiProtobuf',
21 | syntax='proto3',
22 | serialized_options=_b('\n\031com.HiProtobuf.HiProtobufB\016Test_classname\252\002\tTableTool'),
23 | serialized_pb=_b('\n\nTest.proto\x12\nHiProtobuf\"K\n\x04Test\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\n\n\x02hp\x18\x03 \x01(\x05\x12\x0e\n\x06\x61ttack\x18\x04 \x01(\x05\x12\r\n\x05infos\x18\x05 \x03(\t\",\n\nExcel_Test\x12\x1e\n\x04\x44\x61ta\x18\x01 \x03(\x0b\x32\x10.HiProtobuf.TestB7\n\x19\x63om.HiProtobuf.HiProtobufB\x0eTest_classname\xaa\x02\tTableToolb\x06proto3')
24 | )
25 |
26 |
27 |
28 |
29 | _TEST = _descriptor.Descriptor(
30 | name='Test',
31 | full_name='HiProtobuf.Test',
32 | filename=None,
33 | file=DESCRIPTOR,
34 | containing_type=None,
35 | fields=[
36 | _descriptor.FieldDescriptor(
37 | name='id', full_name='HiProtobuf.Test.id', index=0,
38 | number=1, type=9, cpp_type=9, label=1,
39 | has_default_value=False, default_value=_b("").decode('utf-8'),
40 | message_type=None, enum_type=None, containing_type=None,
41 | is_extension=False, extension_scope=None,
42 | serialized_options=None, file=DESCRIPTOR),
43 | _descriptor.FieldDescriptor(
44 | name='name', full_name='HiProtobuf.Test.name', index=1,
45 | number=2, type=9, cpp_type=9, label=1,
46 | has_default_value=False, default_value=_b("").decode('utf-8'),
47 | message_type=None, enum_type=None, containing_type=None,
48 | is_extension=False, extension_scope=None,
49 | serialized_options=None, file=DESCRIPTOR),
50 | _descriptor.FieldDescriptor(
51 | name='hp', full_name='HiProtobuf.Test.hp', index=2,
52 | number=3, type=5, cpp_type=1, label=1,
53 | has_default_value=False, default_value=0,
54 | message_type=None, enum_type=None, containing_type=None,
55 | is_extension=False, extension_scope=None,
56 | serialized_options=None, file=DESCRIPTOR),
57 | _descriptor.FieldDescriptor(
58 | name='attack', full_name='HiProtobuf.Test.attack', index=3,
59 | number=4, type=5, cpp_type=1, label=1,
60 | has_default_value=False, default_value=0,
61 | message_type=None, enum_type=None, containing_type=None,
62 | is_extension=False, extension_scope=None,
63 | serialized_options=None, file=DESCRIPTOR),
64 | _descriptor.FieldDescriptor(
65 | name='infos', full_name='HiProtobuf.Test.infos', index=4,
66 | number=5, type=9, cpp_type=9, label=3,
67 | has_default_value=False, default_value=[],
68 | message_type=None, enum_type=None, containing_type=None,
69 | is_extension=False, extension_scope=None,
70 | serialized_options=None, file=DESCRIPTOR),
71 | ],
72 | extensions=[
73 | ],
74 | nested_types=[],
75 | enum_types=[
76 | ],
77 | serialized_options=None,
78 | is_extendable=False,
79 | syntax='proto3',
80 | extension_ranges=[],
81 | oneofs=[
82 | ],
83 | serialized_start=26,
84 | serialized_end=101,
85 | )
86 |
87 |
88 | _EXCEL_TEST = _descriptor.Descriptor(
89 | name='Excel_Test',
90 | full_name='HiProtobuf.Excel_Test',
91 | filename=None,
92 | file=DESCRIPTOR,
93 | containing_type=None,
94 | fields=[
95 | _descriptor.FieldDescriptor(
96 | name='Data', full_name='HiProtobuf.Excel_Test.Data', index=0,
97 | number=1, type=11, cpp_type=10, label=3,
98 | has_default_value=False, default_value=[],
99 | message_type=None, enum_type=None, containing_type=None,
100 | is_extension=False, extension_scope=None,
101 | serialized_options=None, file=DESCRIPTOR),
102 | ],
103 | extensions=[
104 | ],
105 | nested_types=[],
106 | enum_types=[
107 | ],
108 | serialized_options=None,
109 | is_extendable=False,
110 | syntax='proto3',
111 | extension_ranges=[],
112 | oneofs=[
113 | ],
114 | serialized_start=103,
115 | serialized_end=147,
116 | )
117 |
118 | _EXCEL_TEST.fields_by_name['Data'].message_type = _TEST
119 | DESCRIPTOR.message_types_by_name['Test'] = _TEST
120 | DESCRIPTOR.message_types_by_name['Excel_Test'] = _EXCEL_TEST
121 | _sym_db.RegisterFileDescriptor(DESCRIPTOR)
122 |
123 | Test = _reflection.GeneratedProtocolMessageType('Test', (_message.Message,), {
124 | 'DESCRIPTOR' : _TEST,
125 | '__module__' : 'Test_pb2'
126 | # @@protoc_insertion_point(class_scope:HiProtobuf.Test)
127 | })
128 | _sym_db.RegisterMessage(Test)
129 |
130 | Excel_Test = _reflection.GeneratedProtocolMessageType('Excel_Test', (_message.Message,), {
131 | 'DESCRIPTOR' : _EXCEL_TEST,
132 | '__module__' : 'Test_pb2'
133 | # @@protoc_insertion_point(class_scope:HiProtobuf.Excel_Test)
134 | })
135 | _sym_db.RegisterMessage(Excel_Test)
136 |
137 |
138 | DESCRIPTOR._options = None
139 | # @@protoc_insertion_point(module_scope)
140 |
--------------------------------------------------------------------------------
/Example/Export/proto/Example.proto:
--------------------------------------------------------------------------------
1 |
2 | // This is auto generated by HiProtobuf
3 | // Support: hiramtan@live.com
4 |
5 | // [START declaration]
6 | syntax = "proto3";
7 | package HiProtobuf;
8 | // [END declaration]
9 |
10 | // [START java_declaration]
11 | option java_package = "com.HiProtobuf.HiProtobuf";
12 | option java_outer_classname = "Example_classname";
13 | // [END java_declaration]
14 |
15 | // [START csharp_declaration]
16 | option csharp_namespace = "TableTool";
17 | // [END csharp_declaration]
18 |
19 | message Example {
20 | string id = 1;
21 | double name1 = 2;
22 | float name2 = 3;
23 | int32 name3 = 4;
24 | int64 name4 = 5;
25 | uint32 name5 = 6;
26 | uint64 name6 = 7;
27 | bool name7 = 8;
28 | string name8 = 9;
29 | repeated double name9 = 10;
30 | repeated float name10 = 11;
31 | repeated int32 name11 = 12;
32 | repeated int64 name12 = 13;
33 | repeated uint32 name13 = 14;
34 | repeated uint64 name14 = 15;
35 | repeated bool name15 = 16;
36 | repeated string name16 = 17;
37 | }
38 |
39 | message Excel_Example
40 | {
41 | repeated Example Data = 1;
42 | }
43 |
--------------------------------------------------------------------------------
/Example/Export/proto/Test.proto:
--------------------------------------------------------------------------------
1 |
2 | // This is auto generated by HiProtobuf
3 | // Support: hiramtan@live.com
4 |
5 | // [START declaration]
6 | syntax = "proto3";
7 | package HiProtobuf;
8 | // [END declaration]
9 |
10 | // [START java_declaration]
11 | option java_package = "com.HiProtobuf.HiProtobuf";
12 | option java_outer_classname = "Test_classname";
13 | // [END java_declaration]
14 |
15 | // [START csharp_declaration]
16 | option csharp_namespace = "TableTool";
17 | // [END csharp_declaration]
18 |
19 | message Test {
20 | string id = 1;
21 | string name = 2;
22 | int32 hp = 3;
23 | int32 attack = 4;
24 | repeated string infos = 5;
25 | }
26 |
27 | message Excel_Test
28 | {
29 | repeated Test Data = 1;
30 | }
31 |
--------------------------------------------------------------------------------
/Example/HiProtobuf/Config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | ../Export
4 | ../Excel
5 | C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
6 |
--------------------------------------------------------------------------------
/Example/HiProtobuf/EPPlus.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/EPPlus.dll
--------------------------------------------------------------------------------
/Example/HiProtobuf/Google.Protobuf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/Google.Protobuf.dll
--------------------------------------------------------------------------------
/Example/HiProtobuf/HiFramework.Assert.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/HiFramework.Assert.dll
--------------------------------------------------------------------------------
/Example/HiProtobuf/HiFramework.Log.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/HiFramework.Log.dll
--------------------------------------------------------------------------------
/Example/HiProtobuf/HiProtobuf.Lib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/HiProtobuf.Lib.dll
--------------------------------------------------------------------------------
/Example/HiProtobuf/HiProtobuf.Lib.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/HiProtobuf.Lib.pdb
--------------------------------------------------------------------------------
/Example/HiProtobuf/HiProtobuf.UI.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/HiProtobuf.UI.exe
--------------------------------------------------------------------------------
/Example/HiProtobuf/HiProtobuf.UI.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Example/HiProtobuf/HiProtobuf.UI.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/HiProtobuf.UI.pdb
--------------------------------------------------------------------------------
/Example/HiProtobuf/protoc-3.8.0-win64/bin/protoc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/protoc-3.8.0-win64/bin/protoc.exe
--------------------------------------------------------------------------------
/Example/HiProtobuf/protoc-3.8.0-win64/bin/protocILRuntime.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Example/HiProtobuf/protoc-3.8.0-win64/bin/protocILRuntime.exe
--------------------------------------------------------------------------------
/Example/HiProtobuf/protoc-3.8.0-win64/include/google/protobuf/duration.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | syntax = "proto3";
32 |
33 | package google.protobuf;
34 |
35 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36 | option cc_enable_arenas = true;
37 | option go_package = "github.com/golang/protobuf/ptypes/duration";
38 | option java_package = "com.google.protobuf";
39 | option java_outer_classname = "DurationProto";
40 | option java_multiple_files = true;
41 | option objc_class_prefix = "GPB";
42 |
43 | // A Duration represents a signed, fixed-length span of time represented
44 | // as a count of seconds and fractions of seconds at nanosecond
45 | // resolution. It is independent of any calendar and concepts like "day"
46 | // or "month". It is related to Timestamp in that the difference between
47 | // two Timestamp values is a Duration and it can be added or subtracted
48 | // from a Timestamp. Range is approximately +-10,000 years.
49 | //
50 | // # Examples
51 | //
52 | // Example 1: Compute Duration from two Timestamps in pseudo code.
53 | //
54 | // Timestamp start = ...;
55 | // Timestamp end = ...;
56 | // Duration duration = ...;
57 | //
58 | // duration.seconds = end.seconds - start.seconds;
59 | // duration.nanos = end.nanos - start.nanos;
60 | //
61 | // if (duration.seconds < 0 && duration.nanos > 0) {
62 | // duration.seconds += 1;
63 | // duration.nanos -= 1000000000;
64 | // } else if (durations.seconds > 0 && duration.nanos < 0) {
65 | // duration.seconds -= 1;
66 | // duration.nanos += 1000000000;
67 | // }
68 | //
69 | // Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
70 | //
71 | // Timestamp start = ...;
72 | // Duration duration = ...;
73 | // Timestamp end = ...;
74 | //
75 | // end.seconds = start.seconds + duration.seconds;
76 | // end.nanos = start.nanos + duration.nanos;
77 | //
78 | // if (end.nanos < 0) {
79 | // end.seconds -= 1;
80 | // end.nanos += 1000000000;
81 | // } else if (end.nanos >= 1000000000) {
82 | // end.seconds += 1;
83 | // end.nanos -= 1000000000;
84 | // }
85 | //
86 | // Example 3: Compute Duration from datetime.timedelta in Python.
87 | //
88 | // td = datetime.timedelta(days=3, minutes=10)
89 | // duration = Duration()
90 | // duration.FromTimedelta(td)
91 | //
92 | // # JSON Mapping
93 | //
94 | // In JSON format, the Duration type is encoded as a string rather than an
95 | // object, where the string ends in the suffix "s" (indicating seconds) and
96 | // is preceded by the number of seconds, with nanoseconds expressed as
97 | // fractional seconds. For example, 3 seconds with 0 nanoseconds should be
98 | // encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
99 | // be expressed in JSON format as "3.000000001s", and 3 seconds and 1
100 | // microsecond should be expressed in JSON format as "3.000001s".
101 | //
102 | //
103 | message Duration {
104 | // Signed seconds of the span of time. Must be from -315,576,000,000
105 | // to +315,576,000,000 inclusive. Note: these bounds are computed from:
106 | // 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
107 | int64 seconds = 1;
108 |
109 | // Signed fractions of a second at nanosecond resolution of the span
110 | // of time. Durations less than one second are represented with a 0
111 | // `seconds` field and a positive or negative `nanos` field. For durations
112 | // of one second or more, a non-zero value for the `nanos` field must be
113 | // of the same sign as the `seconds` field. Must be from -999,999,999
114 | // to +999,999,999 inclusive.
115 | int32 nanos = 2;
116 | }
117 |
--------------------------------------------------------------------------------
/Example/HiProtobuf/protoc-3.8.0-win64/include/google/protobuf/empty.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | syntax = "proto3";
32 |
33 | package google.protobuf;
34 |
35 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36 | option go_package = "github.com/golang/protobuf/ptypes/empty";
37 | option java_package = "com.google.protobuf";
38 | option java_outer_classname = "EmptyProto";
39 | option java_multiple_files = true;
40 | option objc_class_prefix = "GPB";
41 | option cc_enable_arenas = true;
42 |
43 | // A generic empty message that you can re-use to avoid defining duplicated
44 | // empty messages in your APIs. A typical example is to use it as the request
45 | // or the response type of an API method. For instance:
46 | //
47 | // service Foo {
48 | // rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
49 | // }
50 | //
51 | // The JSON representation for `Empty` is empty JSON object `{}`.
52 | message Empty {}
53 |
--------------------------------------------------------------------------------
/Example/HiProtobuf/protoc-3.8.0-win64/include/google/protobuf/source_context.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | syntax = "proto3";
32 |
33 | package google.protobuf;
34 |
35 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36 | option java_package = "com.google.protobuf";
37 | option java_outer_classname = "SourceContextProto";
38 | option java_multiple_files = true;
39 | option objc_class_prefix = "GPB";
40 | option go_package = "google.golang.org/genproto/protobuf/source_context;source_context";
41 |
42 | // `SourceContext` represents information about the source of a
43 | // protobuf element, like the file in which it is defined.
44 | message SourceContext {
45 | // The path-qualified name of the .proto file that contained the associated
46 | // protobuf element. For example: `"google/protobuf/source_context.proto"`.
47 | string file_name = 1;
48 | }
49 |
--------------------------------------------------------------------------------
/Example/HiProtobuf/protoc-3.8.0-win64/include/google/protobuf/struct.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | syntax = "proto3";
32 |
33 | package google.protobuf;
34 |
35 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36 | option cc_enable_arenas = true;
37 | option go_package = "github.com/golang/protobuf/ptypes/struct;structpb";
38 | option java_package = "com.google.protobuf";
39 | option java_outer_classname = "StructProto";
40 | option java_multiple_files = true;
41 | option objc_class_prefix = "GPB";
42 |
43 | // `Struct` represents a structured data value, consisting of fields
44 | // which map to dynamically typed values. In some languages, `Struct`
45 | // might be supported by a native representation. For example, in
46 | // scripting languages like JS a struct is represented as an
47 | // object. The details of that representation are described together
48 | // with the proto support for the language.
49 | //
50 | // The JSON representation for `Struct` is JSON object.
51 | message Struct {
52 | // Unordered map of dynamically typed values.
53 | map fields = 1;
54 | }
55 |
56 | // `Value` represents a dynamically typed value which can be either
57 | // null, a number, a string, a boolean, a recursive struct value, or a
58 | // list of values. A producer of value is expected to set one of that
59 | // variants, absence of any variant indicates an error.
60 | //
61 | // The JSON representation for `Value` is JSON value.
62 | message Value {
63 | // The kind of value.
64 | oneof kind {
65 | // Represents a null value.
66 | NullValue null_value = 1;
67 | // Represents a double value.
68 | double number_value = 2;
69 | // Represents a string value.
70 | string string_value = 3;
71 | // Represents a boolean value.
72 | bool bool_value = 4;
73 | // Represents a structured value.
74 | Struct struct_value = 5;
75 | // Represents a repeated `Value`.
76 | ListValue list_value = 6;
77 | }
78 | }
79 |
80 | // `NullValue` is a singleton enumeration to represent the null value for the
81 | // `Value` type union.
82 | //
83 | // The JSON representation for `NullValue` is JSON `null`.
84 | enum NullValue {
85 | // Null value.
86 | NULL_VALUE = 0;
87 | }
88 |
89 | // `ListValue` is a wrapper around a repeated field of values.
90 | //
91 | // The JSON representation for `ListValue` is JSON array.
92 | message ListValue {
93 | // Repeated field of dynamically typed values.
94 | repeated Value values = 1;
95 | }
96 |
--------------------------------------------------------------------------------
/Example/HiProtobuf/protoc-3.8.0-win64/include/google/protobuf/wrappers.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | // Wrappers for primitive (non-message) types. These types are useful
32 | // for embedding primitives in the `google.protobuf.Any` type and for places
33 | // where we need to distinguish between the absence of a primitive
34 | // typed field and its default value.
35 | //
36 | // These wrappers have no meaningful use within repeated fields as they lack
37 | // the ability to detect presence on individual elements.
38 | // These wrappers have no meaningful use within a map or a oneof since
39 | // individual entries of a map or fields of a oneof can already detect presence.
40 |
41 | syntax = "proto3";
42 |
43 | package google.protobuf;
44 |
45 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
46 | option cc_enable_arenas = true;
47 | option go_package = "github.com/golang/protobuf/ptypes/wrappers";
48 | option java_package = "com.google.protobuf";
49 | option java_outer_classname = "WrappersProto";
50 | option java_multiple_files = true;
51 | option objc_class_prefix = "GPB";
52 |
53 | // Wrapper message for `double`.
54 | //
55 | // The JSON representation for `DoubleValue` is JSON number.
56 | message DoubleValue {
57 | // The double value.
58 | double value = 1;
59 | }
60 |
61 | // Wrapper message for `float`.
62 | //
63 | // The JSON representation for `FloatValue` is JSON number.
64 | message FloatValue {
65 | // The float value.
66 | float value = 1;
67 | }
68 |
69 | // Wrapper message for `int64`.
70 | //
71 | // The JSON representation for `Int64Value` is JSON string.
72 | message Int64Value {
73 | // The int64 value.
74 | int64 value = 1;
75 | }
76 |
77 | // Wrapper message for `uint64`.
78 | //
79 | // The JSON representation for `UInt64Value` is JSON string.
80 | message UInt64Value {
81 | // The uint64 value.
82 | uint64 value = 1;
83 | }
84 |
85 | // Wrapper message for `int32`.
86 | //
87 | // The JSON representation for `Int32Value` is JSON number.
88 | message Int32Value {
89 | // The int32 value.
90 | int32 value = 1;
91 | }
92 |
93 | // Wrapper message for `uint32`.
94 | //
95 | // The JSON representation for `UInt32Value` is JSON number.
96 | message UInt32Value {
97 | // The uint32 value.
98 | uint32 value = 1;
99 | }
100 |
101 | // Wrapper message for `bool`.
102 | //
103 | // The JSON representation for `BoolValue` is JSON `true` and `false`.
104 | message BoolValue {
105 | // The bool value.
106 | bool value = 1;
107 | }
108 |
109 | // Wrapper message for `string`.
110 | //
111 | // The JSON representation for `StringValue` is JSON string.
112 | message StringValue {
113 | // The string value.
114 | string value = 1;
115 | }
116 |
117 | // Wrapper message for `bytes`.
118 | //
119 | // The JSON representation for `BytesValue` is JSON string.
120 | message BytesValue {
121 | // The bytes value.
122 | bytes value = 1;
123 | }
124 |
--------------------------------------------------------------------------------
/Example/HiProtobuf/protoc-3.8.0-win64/readme.txt:
--------------------------------------------------------------------------------
1 | Protocol Buffers - Google's data interchange format
2 | Copyright 2008 Google Inc.
3 | https://developers.google.com/protocol-buffers/
4 |
5 | This package contains a precompiled binary version of the protocol buffer
6 | compiler (protoc). This binary is intended for users who want to use Protocol
7 | Buffers in languages other than C++ but do not want to compile protoc
8 | themselves. To install, simply place this binary somewhere in your PATH.
9 |
10 | If you intend to use the included well known types then don't forget to
11 | copy the contents of the 'include' directory somewhere as well, for example
12 | into '/usr/local/include/'.
13 |
14 | Please refer to our official github site for more installation instructions:
15 | https://github.com/protocolbuffers/protobuf
16 |
--------------------------------------------------------------------------------
/Others/7U7wQbS0FP.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Others/7U7wQbS0FP.png
--------------------------------------------------------------------------------
/Others/EXCEL_5u9BDIL5mX.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Others/EXCEL_5u9BDIL5mX.png
--------------------------------------------------------------------------------
/Others/VVbONwkevi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Others/VVbONwkevi.png
--------------------------------------------------------------------------------
/Others/icZblwSnCx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Others/icZblwSnCx.png
--------------------------------------------------------------------------------
/Others/qAn9ZhK3fO.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/Others/qAn9ZhK3fO.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # HiExcel2Protobuf(Excel转Protobuf工具)
2 |
3 | 推荐使用python版本: [https://github.com/hiram3512/ExcelToProtobuf_python](https://github.com/hiram3512/ExcelToProtobuf_python)
4 |
5 | 优势:
6 | - 跨平台支持(win,macOS)
7 | - 自定义proto作为规则
8 | - 不用再二次编译文件填充数据
9 | - 不用再依赖.Net Framework
10 |
11 | -----
12 |
13 | #### 功能说明
14 | - 将Excel文件生成protobuf文件和protobuf数据
15 | - 目前支持生成五种语言C++(生成.cpp),C#(生成.cs和.dll),Golang(生成.go),Java(生成.java),Python(生成.py)
16 |
17 | #### 如何使用
18 | 
19 |
20 | 从此处下载: [https://github.com/hiramtan/HiProtobuf/releases](https://github.com/hiramtan/HiProtobuf/releases)
21 | 1. 选择导出文件的存放目录
22 | 2. 选择Excel文件的存放目录
23 | 3. 选择编译器csc.exe
24 | 4. 点击导出
25 |
26 | #### 类型对应关系
27 | 
28 |
29 | #### 详细说明
30 | - 大多数Windows电脑上默认安装.Net Framework,编译器路径一般在C:\Windows\Microsoft.NET\Framework64.如果没有安装从此处下载安装 [https://dotnet.microsoft.com/download/dotnet-framework](https://dotnet.microsoft.com/download/dotnet-framework)
31 | - 如果希望导出.go文件,需要额外做一些操作,具体参照官方介绍: [https://developers.google.cn/protocol-buffers/docs/gotutorial](https://developers.google.cn/protocol-buffers/docs/gotutorial)
32 | - C#语言额外导出了一份.dll,可以使用.cs源码或者.dll文件
33 | - 会递归遍历Excel目录下的所有文件
34 | - 会在导出目录下自动生成三个目录:
35 | - proto 存放.proto原始文件
36 | - language 存放各语言的生成文件(比如language/cpp/xx.cpp)
37 | - dat 存放.dat protobuf序列化数据
38 | - 支持的数据类型有: "double", "float", "int32", "int64", "uint32", "uint64", "sint32", "sint64", "fixed32", "fixed64","sfixed32", "sfixed64", "bool", "string", "bytes"
39 | - 支持对应的数组类型,数据分割用|
40 |
41 | 
42 | - Excel配置格式如下:
43 | - 第一行为注释说明
44 | - 第二行为变量类型
45 | - 第三行为变量命名
46 |
47 | 
48 | - 运行时使用如下:
49 |
50 | 
51 | - 扩展:源码里面的对象很容易生成其他语言(Lua/Ruby/PHP...)和数据(Json/Xml/Bin...)
52 |
53 | ---------------------------------
54 | Support: hiramtan@live.com
55 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/Common.cs:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Description:
3 | *
4 | * Document: https://github.com/hiramtan/HiProtobuf
5 | * Author: hiramtan@live.com
6 | ****************************************************************************/
7 |
8 | using System.IO;
9 |
10 | namespace HiProtobuf.Lib
11 | {
12 | internal class Common
13 | {
14 | //double
15 | //float
16 | //int32
17 | //int64
18 | //uint32
19 | //uint64
20 | //sint32
21 | //sint64
22 | //fixed32
23 | //fixed64
24 | //sfixed32
25 | //sfixed64
26 | //bool
27 | //string
28 | //bytes
29 | public const string double_ = "double";
30 | public const string float_ = "float";
31 | public const string int32_ = "int32";
32 | public const string int64_ = "int64";
33 | public const string uint32_ = "uint32";
34 | public const string uint64_ = "uint64";
35 | public const string sint32_ = "sint32";
36 | public const string sint64_ = "sint64";
37 | public const string fixed32_ = "fixed32";
38 | public const string fixed64_ = "fixed64";
39 | public const string sfixed32_ = "sfixed32";
40 | public const string sfixed64_ = "sfixed64";
41 | public const string bool_ = "bool";
42 | public const string string_ = "string";
43 | public const string bytes_ = "bytes";
44 |
45 | public const string double_s = "double[]";
46 | public const string float_s = "float[]";
47 | public const string int32_s = "int32[]";
48 | public const string int64_s = "int64[]";
49 | public const string uint32_s = "uint32[]";
50 | public const string uint64_s = "uint64[]";
51 | public const string sint32_s = "sint32[]";
52 | public const string sint64_s = "sint64[]";
53 | public const string fixed32_s = "fixed32[]";
54 | public const string fixed64_s = "fixed64[]";
55 | public const string sfixed32_s = "sfixed32[]";
56 | public const string sfixed64_s = "sfixed64[]";
57 | public const string bool_s = "bool[]";
58 | public const string string_s = "string[]";
59 | public const string bytes_s = "bytes[]";
60 |
61 |
62 | public static readonly string[] VariableType = new[] {
63 | "double", "float", "int32", "int64", "uint32", "uint64", "sint32", "sint64", "fixed32", "fixed64","sfixed32", "sfixed64", "bool", "string", "bytes",
64 | "double[]", "float[]", "int32[]", "int64[]", "uint32[]", "uint64[]", "sint32[]", "sint64[]", "fixed32[]", "fixed64[]","sfixed32[]", "sfixed64[]", "bool[]", "string[]", "bytes[]"
65 | };
66 |
67 | internal static string Cmd(string str)
68 | {
69 | System.Diagnostics.Process process = new System.Diagnostics.Process();
70 | process.StartInfo.FileName = "cmd.exe";
71 | process.StartInfo.UseShellExecute = false;
72 | process.StartInfo.CreateNoWindow = true;
73 | process.StartInfo.RedirectStandardOutput = true;
74 | process.StartInfo.RedirectStandardInput = true;
75 | process.Start();
76 |
77 | process.StandardInput.WriteLine(str);
78 | process.StandardInput.AutoFlush = true;
79 | process.StandardInput.WriteLine("exit");
80 |
81 | StreamReader reader = process.StandardOutput;//截取输出流
82 |
83 | string output = reader.ReadLine();//每次读取一行
84 |
85 | while (!reader.EndOfStream)
86 | {
87 | output += reader.ReadLine();
88 | }
89 |
90 | process.WaitForExit();
91 | return output;
92 | }
93 | }
94 | }
95 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/Compiler.cs:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Description:
3 | *
4 | * Document: https://github.com/hiramtan/HiProtobuf
5 | * Author: hiramtan@live.com
6 | ****************************************************************************/
7 |
8 | using System;
9 | using System.Collections.Generic;
10 | using System.IO;
11 | using System.Linq;
12 | using System.Text;
13 | using System.Threading.Tasks;
14 |
15 | namespace HiProtobuf.Lib
16 | {
17 | internal class Compiler
18 | {
19 | public static readonly string DllName = "/HiProtobuf.Excel.csharp.dll";
20 |
21 | public Compiler()
22 | {
23 | var folder = Settings.Export_Folder + Settings.language_folder + Settings.csharp_dll_folder;
24 | if (Directory.Exists(folder))
25 | {
26 | Directory.Delete(folder, true);
27 | }
28 | Directory.CreateDirectory(folder);
29 | }
30 |
31 | public void Porcess()
32 | {
33 | var commond = @"-target:library -out:{0} -reference:{1} -recurse:{2}\*.cs";
34 | var dllPath = Settings.Export_Folder + Settings.language_folder + Settings.csharp_dll_folder + DllName;
35 | var csharpFolder = Settings.Export_Folder + Settings.language_folder + Settings.csharp_folder;
36 | commond = Settings.Compiler_Path + " " + string.Format(commond, dllPath, Settings.Protobuf_Dll_Path, csharpFolder);
37 | Common.Cmd(commond);
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/HiProtobuf.Lib.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {6BEF4405-D34B-45EE-B577-C2F2F0336269}
8 | Library
9 | Properties
10 | HiProtobuf.Lib
11 | HiProtobuf.Lib
12 | v4.5
13 | 512
14 | true
15 |
16 |
17 |
18 | true
19 | full
20 | false
21 | ..\..\Example\HiProtobuf\
22 | DEBUG;TRACE
23 | prompt
24 | 4
25 | false
26 |
27 |
28 | pdbonly
29 | true
30 | ..\..\Example\HiProtobuf\
31 | TRACE
32 | prompt
33 | 4
34 | false
35 |
36 |
37 |
38 | ..\packages\EPPlus.5.0.4\lib\net45\EPPlus.dll
39 |
40 |
41 | ..\lib\Google.Protobuf.dll
42 |
43 |
44 | ..\packages\HiFramework.Assert.1.0.2\lib\net35\HiFramework.Assert.dll
45 |
46 |
47 | ..\packages\HiFramework.Log.1.0.6\lib\net35\HiFramework.Log.dll
48 |
49 |
50 | True
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/LanguageGenerater.cs:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Description:
3 | *
4 | * Document: https://github.com/hiramtan/HiProtobuf
5 | * Author: hiramtan@live.com
6 | ****************************************************************************/
7 | using System;
8 | using System.IO;
9 |
10 | namespace HiProtobuf.Lib
11 | {
12 | internal class LanguageGenerater
13 | {
14 | private string _languageFolder;
15 | public void Process()
16 | {
17 | _languageFolder = Settings.Export_Folder + Settings.language_folder;
18 | if (Directory.Exists(_languageFolder))
19 | {
20 | Directory.Delete(_languageFolder, true);
21 | }
22 | Directory.CreateDirectory(_languageFolder);
23 |
24 | var protoFolder = Settings.Export_Folder + Settings.proto_folder;
25 | Process_csharpForILRumtime(protoFolder);
26 | Process_csharp(protoFolder);
27 | Process_cpp(protoFolder);
28 | Process_go(protoFolder);
29 | Process_java(protoFolder);
30 | Process_python(protoFolder);
31 | }
32 |
33 | private void Process_csharpForILRumtime(string protoPath)
34 | {
35 | var outFolder = _languageFolder + Settings.csharpForILRumtime_folder;
36 | Directory.CreateDirectory(outFolder);
37 | //递归查询
38 | string[] files = Directory.GetFiles(protoPath, "*.proto", SearchOption.AllDirectories);
39 | for (int i = 0; i < files.Length; i++)
40 | {
41 | var filePath = files[i];
42 | var ilProtoc = Environment.CurrentDirectory + @"\protoc-3.8.0-win64\bin\protocILRuntime.exe";
43 |
44 | var command = ilProtoc + string.Format(" -I={0} --csharp_out={1} {2}", protoPath, outFolder, filePath);
45 | var log = Common.Cmd(command);
46 | }
47 | }
48 |
49 | private void Process_csharp(string protoPath)
50 | {
51 | var outFolder = _languageFolder + Settings.csharp_folder;
52 | Directory.CreateDirectory(outFolder);
53 | //递归查询
54 | string[] files = Directory.GetFiles(protoPath, "*.proto", SearchOption.AllDirectories);
55 | for (int i = 0; i < files.Length; i++)
56 | {
57 | var filePath = files[i];
58 | var command = Settings.Protoc_Path + string.Format(" -I={0} --csharp_out={1} {2}", protoPath, outFolder, filePath);
59 | var log = Common.Cmd(command);
60 | }
61 | }
62 |
63 | private void Process_cpp(string protoPath)
64 | {
65 | var outFolder = _languageFolder + Settings.cpp_folder;
66 | Directory.CreateDirectory(outFolder);
67 | //递归查询
68 | string[] files = Directory.GetFiles(protoPath, "*.proto", SearchOption.AllDirectories);
69 | for (int i = 0; i < files.Length; i++)
70 | {
71 | var filePath = files[i];
72 | var command = Settings.Protoc_Path + string.Format(" -I={0} --cpp_out={1} {2}", protoPath, outFolder, filePath);
73 | var log = Common.Cmd(command);
74 | }
75 | }
76 |
77 | private void Process_go(string protoPath)
78 | {
79 | var outFolder = _languageFolder + Settings.go_folder;
80 | Directory.CreateDirectory(outFolder);
81 | //递归查询
82 | string[] files = Directory.GetFiles(protoPath, "*.proto", SearchOption.AllDirectories);
83 | for (int i = 0; i < files.Length; i++)
84 | {
85 | var filePath = files[i];
86 | var command = Settings.Protoc_Path + string.Format(" -I={0} --go_out={1} {2}", protoPath, outFolder, filePath);
87 | var log = Common.Cmd(command);
88 | }
89 | }
90 |
91 | private void Process_java(string protoPath)
92 | {
93 | var outFolder = _languageFolder + Settings.java_folder;
94 | Directory.CreateDirectory(outFolder);
95 | //递归查询
96 | string[] files = Directory.GetFiles(protoPath, "*.proto", SearchOption.AllDirectories);
97 | for (int i = 0; i < files.Length; i++)
98 | {
99 | var filePath = files[i];
100 | var command = Settings.Protoc_Path + string.Format(" -I={0} --java_out={1} {2}", protoPath, outFolder, filePath);
101 | var log = Common.Cmd(command);
102 | }
103 | }
104 |
105 | private void Process_python(string protoPath)
106 | {
107 | var outFolder = _languageFolder + Settings.python_folder;
108 | Directory.CreateDirectory(outFolder);
109 | //递归查询
110 | string[] files = Directory.GetFiles(protoPath, "*.proto", SearchOption.AllDirectories);
111 | for (int i = 0; i < files.Length; i++)
112 | {
113 | var filePath = files[i];
114 | var command = Settings.Protoc_Path + string.Format(" -I={0} --python_out={1} {2}", protoPath, outFolder, filePath);
115 | var log = Common.Cmd(command);
116 | }
117 | }
118 | }
119 | }
120 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/Manager.cs:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Description:
3 | *
4 | * Document: https://github.com/hiramtan/HiProtobuf
5 | * Author: hiramtan@live.com
6 | ****************************************************************************/
7 |
8 | using HiFramework.Log;
9 |
10 | namespace HiProtobuf.Lib
11 | {
12 | public static class Manager
13 | {
14 | public static void Export()
15 | {
16 | if (string.IsNullOrEmpty(Settings.Export_Folder))
17 | {
18 | Log.Error("导出文件夹未配置");
19 | return;
20 | }
21 | if (string.IsNullOrEmpty(Settings.Export_Folder))
22 | {
23 | Log.Error("Excel文件夹未配置");
24 | return;
25 | }
26 | if (string.IsNullOrEmpty(Settings.Export_Folder))
27 | {
28 | Log.Error("编译器路径未配置");
29 | return;
30 | }
31 | Log.Info("开始生成协议");
32 | new ProtoHandler().Process();
33 | Log.Info("生成协议结束");
34 | Log.Info("开始生成语言");
35 | new LanguageGenerater().Process();
36 | Log.Info("生成语言结束");
37 | Log.Info("开始编译语言");
38 | new Compiler().Porcess();
39 | Log.Info("编译语言结束");
40 | Log.Info("开始生成数据");
41 | new DataHandler().Process();
42 | Log.Info("生成数据结束");
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的一般信息由以下
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("HiProtobuf.Lib")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("HiProtobuf.Lib")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 会使此程序集中的类型
18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
19 | //请将此类型的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("6bef4405-d34b-45ee-b577-c2f2f0336269")]
24 |
25 | // 程序集的版本信息由下列四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
33 | //通过使用 "*",如下所示:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/ProtoGenerater.cs:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Description:
3 | *
4 | * Document: https://github.com/hiramtan/HiProtobuf
5 | * Author: hiramtan@live.com
6 | ****************************************************************************/
7 |
8 | using HiFramework.Assert;
9 | using HiFramework.Log;
10 | using OfficeOpenXml;
11 | using System.IO;
12 | using System.Linq;
13 |
14 | namespace HiProtobuf.Lib
15 | {
16 | internal class ProtoGenerater
17 | {
18 | private string _name;
19 | private int _rowCount;
20 | private int _colCount;
21 | private string _path;
22 | private int _index;
23 | private ExcelWorksheet _excelWorksheet;
24 |
25 | public ProtoGenerater(string name, int rowCount, int colCount, ExcelWorksheet excelWorksheet)
26 | {
27 | _name = name;
28 | _rowCount = rowCount;
29 | _colCount = colCount;
30 | _excelWorksheet = excelWorksheet;
31 |
32 | _path = Settings.Export_Folder + Settings.proto_folder + "/" + name + ".proto";
33 | }
34 |
35 | public void Process()
36 | {
37 | ProcessHeader();
38 | ProcessVariables();
39 | ProcessMap();
40 | }
41 |
42 | void ProcessHeader()
43 | {
44 | var header = @"
45 | // This is auto generated by HiProtobuf
46 | // Support: hiramtan@live.com
47 |
48 | // [START declaration]
49 | syntax = ""proto3"";
50 | package HiProtobuf;
51 | // [END declaration]
52 |
53 | // [START java_declaration]
54 | option java_package = ""com.HiProtobuf.HiProtobuf"";
55 | option java_outer_classname = ""{0}"";
56 | // [END java_declaration]
57 |
58 | // [START csharp_declaration]
59 | option csharp_namespace = ""TableTool"";
60 | // [END csharp_declaration]
61 | ";
62 | header = string.Format(header, _name + "_classname");
63 | var sw = File.AppendText(_path);
64 | sw.WriteLine(header);
65 | sw.Close();
66 | }
67 |
68 | void ProcessVariables()
69 | {
70 | var str = "message " + _name + " {\n";
71 | for (int j = 1; j <= _colCount; j++)
72 | {
73 | var type = _excelWorksheet.Cells[2, j].Value.ToString();
74 | var name = _excelWorksheet.Cells[3, j].Value.ToString();
75 | str += GetVariableString(type, name);
76 | }
77 | str += "}";
78 | var sw = File.AppendText(_path);
79 | sw.WriteLine(str);
80 | sw.Close();
81 | }
82 |
83 | ///
84 | /// 数组用[]标识
85 | ///
86 | ///
87 | private string GetVariableString(string type, string name)
88 | {
89 | AssertThat.IsTrue(Common.VariableType.Contains(type), "Type define error");
90 | _index++;//从1开始定义
91 | string str = "";
92 | if (type.Contains("[]"))//如果是数组进行转换
93 | {
94 | type = "repeated " + type.Split('[')[0];
95 | }
96 | str += " " + type + " " + name + " = " + _index + ";";
97 | str += "\n";
98 | return str;
99 | }
100 |
101 | private void ProcessMap()
102 | {
103 | string str = @"
104 | message Excel_{0}
105 | {{
106 | repeated {1} {2} = 1;
107 | }}";
108 | str = string.Format(str, _name, _name, "Data");
109 | var sw = File.AppendText(_path);
110 | sw.WriteLine(str);
111 | sw.Close();
112 |
113 | Log.Info($"文件 {_path} 生成");
114 | }
115 | }
116 | }
117 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/ProtoHandler.cs:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Description:
3 | *
4 | * Document: https://github.com/hiramtan/HiProtobuf
5 | * Author: hiramtan@live.com
6 | ****************************************************************************/
7 |
8 | using HiFramework.Assert;
9 | using OfficeOpenXml;
10 | using System.IO;
11 |
12 | namespace HiProtobuf.Lib
13 | {
14 | internal class ProtoHandler
15 | {
16 | public ProtoHandler()
17 | {
18 | var path = Settings.Export_Folder + Settings.proto_folder;
19 | if (Directory.Exists(path))
20 | {
21 | Directory.Delete(path, true);
22 | }
23 | Directory.CreateDirectory(path);
24 | }
25 |
26 | public void Process()
27 | {
28 | //递归查询
29 | string[] files = Directory.GetFiles(Settings.Excel_Folder, "*.xlsx", SearchOption.AllDirectories);
30 | for (int i = 0; i < files.Length; i++)
31 | {
32 | var path = files[i];
33 | if (path.Contains("~$"))//已打开的表格格式
34 | {
35 | continue;
36 | }
37 | ProcessExcel(path);
38 | }
39 | }
40 |
41 | void ProcessExcel(string path)
42 | {
43 | AssertThat.IsNotNullOrEmpty(path);
44 | var fileInfo = new FileInfo(path);
45 | ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
46 | using (ExcelPackage excelPackage = new ExcelPackage(fileInfo))
47 | {
48 | var count = excelPackage.Workbook.Worksheets.Count;
49 | var worksheet = excelPackage.Workbook.Worksheets[0];
50 | AssertThat.IsNotNull(worksheet, "Excel's sheet is null");
51 | var rowCount = worksheet.Dimension.Rows;
52 | var columnCount = worksheet.Dimension.Columns;
53 | var name = Path.GetFileNameWithoutExtension(path);
54 | new ProtoGenerater(name, rowCount, columnCount, worksheet).Process();
55 | }
56 | }
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/Settings.cs:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Description:
3 | *
4 | * Document: https://github.com/hiramtan/HiProtobuf
5 | * Author: hiramtan@live.com
6 | ****************************************************************************/
7 |
8 | using System;
9 |
10 | namespace HiProtobuf.Lib
11 | {
12 | public static class Settings
13 | {
14 | ///
15 | /// 导出文件夹
16 | ///
17 | public static string Export_Folder = string.Empty;
18 |
19 | ///
20 | /// Excel文件夹
21 | ///
22 | public static string Excel_Folder = string.Empty;
23 |
24 | ///
25 | /// 编译器路径
26 | ///
27 | public static string Compiler_Path = string.Empty;
28 |
29 | ///
30 | /// protobuf dll
31 | ///
32 | public static readonly string Protobuf_Dll_Path = Environment.CurrentDirectory + @"\Google.Protobuf.dll";
33 |
34 | ///
35 | /// protoc路径
36 | ///
37 | public static readonly string Protoc_Path = Environment.CurrentDirectory + @"\protoc-3.8.0-win64\bin\protoc.exe";
38 |
39 | ///
40 | /// Proto文件存放目录
41 | ///
42 | internal static readonly string proto_folder = "/proto";
43 |
44 | ///
45 | /// 语言存放目录
46 | ///
47 | internal static readonly string language_folder = "/language";
48 |
49 | ///
50 | /// 数据存放目录
51 | ///
52 | internal static readonly string dat_folder = "/dat";
53 |
54 | //导出语言文件夹
55 | internal static readonly string csharp_folder = "/csharp";
56 | internal static readonly string csharpForILRumtime_folder = "/csharpForILRumtime";
57 | internal static readonly string csharp_dll_folder = "/csharp_dll";
58 | internal static readonly string cpp_folder = "/cpp";
59 | internal static readonly string go_folder = "/go";
60 | internal static readonly string java_folder = "/java";
61 | internal static readonly string python_folder = "/python";
62 | }
63 | }
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/bin/Debug/Google.Protobuf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Lib/bin/Debug/Google.Protobuf.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/bin/Debug/HiFramework.Assert.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Lib/bin/Debug/HiFramework.Assert.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/bin/Debug/HiFramework.Log.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Lib/bin/Debug/HiFramework.Log.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/bin/Debug/HiProtobuf.Lib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Lib/bin/Debug/HiProtobuf.Lib.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/bin/Debug/HiProtobuf.Lib.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Lib/bin/Debug/HiProtobuf.Lib.pdb
--------------------------------------------------------------------------------
/src/HiProtobuf.Lib/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/HiProtobuf.Test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Debug
7 | AnyCPU
8 | {71D39BEB-DF52-4E8F-B61E-5DD89B0E5DBE}
9 | Library
10 | Properties
11 | HiProtobuf.Test
12 | HiProtobuf.Test
13 | v4.5
14 | 512
15 | {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
16 | 15.0
17 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
18 | $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages
19 | False
20 | UnitTest
21 |
22 |
23 |
24 |
25 | true
26 | full
27 | false
28 | bin\Debug\
29 | DEBUG;TRACE
30 | prompt
31 | 4
32 |
33 |
34 | pdbonly
35 | true
36 | bin\Release\
37 | TRACE
38 | prompt
39 | 4
40 |
41 |
42 |
43 | ..\lib\Google.Protobuf.dll
44 |
45 |
46 | ..\packages\MSTest.TestFramework.2.1.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll
47 |
48 |
49 | ..\packages\MSTest.TestFramework.2.1.0\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 | {6bef4405-d34b-45ee-b577-c2f2f0336269}
64 | HiProtobuf.Lib
65 |
66 |
67 |
68 |
69 |
70 |
71 | 这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。
72 |
73 |
74 |
75 |
76 |
77 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | [assembly: AssemblyTitle("HiProtobuf.Test")]
6 | [assembly: AssemblyDescription("")]
7 | [assembly: AssemblyConfiguration("")]
8 | [assembly: AssemblyCompany("")]
9 | [assembly: AssemblyProduct("HiProtobuf.Test")]
10 | [assembly: AssemblyCopyright("Copyright © 2019")]
11 | [assembly: AssemblyTrademark("")]
12 | [assembly: AssemblyCulture("")]
13 |
14 | [assembly: ComVisible(false)]
15 |
16 | [assembly: Guid("71d39beb-df52-4e8f-b61e-5dd89b0e5dbe")]
17 |
18 | // [assembly: AssemblyVersion("1.0.*")]
19 | [assembly: AssemblyVersion("1.0.0.0")]
20 | [assembly: AssemblyFileVersion("1.0.0.0")]
21 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/UnitTest1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 | using HiProtobuf.Lib;
4 | using Microsoft.VisualStudio.TestTools.UnitTesting;
5 | using Google.Protobuf;
6 |
7 | namespace HiProtobuf.Test
8 | {
9 | [TestClass]
10 | public class UnitTest1
11 | {
12 | [TestMethod]
13 | public void TestExport()
14 | {
15 | Manager.Export();
16 | }
17 |
18 | [TestMethod]
19 | public void TestRead()
20 | {
21 | //Excel_Example example;
22 | //using (var input = File.OpenRead(path))
23 | //{
24 | // example = Excel_Example.Parser.ParseFrom(input);
25 | // var data = example.Data;
26 | // var t1 = data[1];
27 | //}
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/EPPlus.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/EPPlus.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/Google.Protobuf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/Google.Protobuf.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/HiFramework.Assert.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/HiFramework.Assert.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/HiFramework.Log.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/HiFramework.Log.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/HiProtobuf.Lib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/HiProtobuf.Lib.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/HiProtobuf.Lib.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/HiProtobuf.Lib.pdb
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/HiProtobuf.Test.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/HiProtobuf.Test.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/HiProtobuf.Test.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/HiProtobuf.Test.pdb
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/Microsoft.VisualStudio.TestPlatform.TestFramework.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/bin/Debug/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.Test/bin/Debug/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.Test/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/Config.cs:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Description:
3 | *
4 | * Document: https://github.com/hiramtan/HiProtobuf
5 | * Author: hiramtan@live.com
6 | ****************************************************************************/
7 |
8 | using System;
9 | using System.IO;
10 | using HiProtobuf.Lib;
11 | using System.Xml.Serialization;
12 | using System.Text;
13 |
14 | namespace HiProtobuf.UI
15 | {
16 | internal static class Config
17 | {
18 | private static string _path = Environment.CurrentDirectory + "/Config.xml";
19 |
20 | internal static void Load()
21 | {
22 | if (File.Exists(_path))
23 | {
24 | XmlSerializer xs = XmlSerializer.FromTypes(new Type[] { typeof(PathConfig) })[0];
25 | Stream stream = new FileStream(_path, FileMode.Open, FileAccess.Read, FileShare.Read);
26 | PathConfig pathCfg = xs.Deserialize(stream) as PathConfig;
27 | Settings.Export_Folder = Path.GetFullPath(pathCfg.Export_Folder);
28 | Settings.Excel_Folder = Path.GetFullPath(pathCfg.Excel_Folder);
29 | Settings.Compiler_Path = pathCfg.Compiler_Path;
30 | stream.Close();
31 | }
32 | }
33 |
34 | internal static void Save()
35 | {
36 | if (File.Exists(_path)) File.Delete(_path);
37 | var pathCfg = new PathConfig();
38 |
39 | var url1 = new Uri(Settings.Export_Folder);
40 | var url2 = new Uri(System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase);
41 | var result = url2.MakeRelativeUri(url1).ToString();
42 | pathCfg.Export_Folder = result;
43 |
44 | url1 = new Uri(Settings.Excel_Folder);
45 | result = url2.MakeRelativeUri(url1).ToString();
46 | pathCfg.Excel_Folder = result;
47 |
48 | pathCfg.Compiler_Path = Settings.Compiler_Path;
49 | XmlSerializer xs = XmlSerializer.FromTypes(new Type[] { typeof(PathConfig) })[0];
50 | Stream stream = new FileStream(_path, FileMode.Create, FileAccess.Write, FileShare.Read);
51 | xs.Serialize(stream, pathCfg);
52 | stream.Close();
53 | }
54 | }
55 | public class PathConfig
56 | {
57 | public string Export_Folder;
58 | public string Excel_Folder;
59 | public string Compiler_Path;
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/HiProtobuf.UI.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {5402B68A-90AD-4389-B929-DB4844F36A3F}
8 | WinExe
9 | HiProtobuf.UI
10 | HiProtobuf.UI
11 | v4.5
12 | 512
13 | true
14 | publish\
15 | true
16 | Disk
17 | false
18 | Foreground
19 | 7
20 | Days
21 | false
22 | false
23 | true
24 | 0
25 | 1.0.0.%2a
26 | false
27 | false
28 | true
29 |
30 |
31 | AnyCPU
32 | true
33 | full
34 | false
35 | ..\..\Example\HiProtobuf\
36 | DEBUG;TRACE
37 | prompt
38 | 4
39 |
40 |
41 | AnyCPU
42 | pdbonly
43 | true
44 | ..\..\Example\HiProtobuf\
45 | TRACE
46 | prompt
47 | 4
48 |
49 |
50 |
51 | ..\packages\HiFramework.Log.1.0.6\lib\net35\HiFramework.Log.dll
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 | Form
67 |
68 |
69 | HiProtobuf.cs
70 |
71 |
72 |
73 |
74 |
75 |
76 | HiProtobuf.cs
77 |
78 |
79 | ResXFileCodeGenerator
80 | Resources.Designer.cs
81 | Designer
82 |
83 |
84 | True
85 | Resources.resx
86 |
87 |
88 |
89 | SettingsSingleFileGenerator
90 | Settings.Designer.cs
91 |
92 |
93 | True
94 | Settings.settings
95 | True
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 | {6bef4405-d34b-45ee-b577-c2f2f0336269}
104 | HiProtobuf.Lib
105 |
106 |
107 |
108 |
109 | False
110 | .NET Framework 3.5 SP1
111 | false
112 |
113 |
114 |
115 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/HiProtobuf.UI.csproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | publish\
5 |
6 |
7 |
8 |
9 |
10 | zh-CN
11 | false
12 |
13 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/HiProtobuf.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Linq;
7 | using System.Text;
8 | using System.Threading.Tasks;
9 | using System.Windows.Forms;
10 | using HiProtobuf.Lib;
11 | using HiFramework.Log;
12 |
13 | namespace HiProtobuf.UI
14 | {
15 | public partial class HiProtobuf : Form
16 | {
17 | public HiProtobuf()
18 | {
19 | InitializeComponent();
20 | if (!string.IsNullOrEmpty(Settings.Export_Folder)) textBox1.Text = Settings.Export_Folder;
21 | if (!string.IsNullOrEmpty(Settings.Excel_Folder)) textBox2.Text = Settings.Excel_Folder;
22 | if (!string.IsNullOrEmpty(Settings.Compiler_Path)) textBox5.Text = Settings.Compiler_Path;
23 | Log.OnInfo += (x) =>
24 | {
25 | textBox6.Text = Logger.Log;
26 | };
27 | Log.OnWarning += (x) =>
28 | {
29 | textBox6.Text = Logger.Log;
30 | };
31 | Log.OnError += (x) =>
32 | {
33 | textBox6.Text = Logger.Log;
34 | };
35 | }
36 |
37 | private void Form1_Load(object sender, EventArgs e)
38 | {
39 |
40 | }
41 |
42 | private void button1_Click(object sender, EventArgs e)
43 | {
44 | FolderBrowserDialog dialog = new FolderBrowserDialog();
45 | if (dialog.ShowDialog() == DialogResult.OK)
46 | {
47 | textBox1.Text = dialog.SelectedPath;
48 | Settings.Export_Folder = textBox1.Text;
49 | }
50 | }
51 | private void textBox1_TextChanged(object sender, EventArgs e)
52 | {
53 | Settings.Export_Folder = textBox1.Text;
54 | }
55 |
56 | private void button2_Click(object sender, EventArgs e)
57 | {
58 | FolderBrowserDialog dialog = new FolderBrowserDialog();
59 | if (dialog.ShowDialog() == DialogResult.OK)
60 | {
61 | textBox2.Text = dialog.SelectedPath;
62 | Settings.Excel_Folder = textBox2.Text;
63 | }
64 | }
65 | private void textBox2_TextChanged(object sender, EventArgs e)
66 | {
67 | Settings.Excel_Folder = textBox2.Text;
68 | }
69 |
70 |
71 | private void button5_Click(object sender, EventArgs e)
72 | {
73 | OpenFileDialog dialog = new OpenFileDialog();
74 | dialog.Filter = "csc(*.exe)|*.exe";
75 | if (dialog.ShowDialog() == DialogResult.OK)
76 | {
77 | textBox5.Text = dialog.FileName;
78 | Settings.Compiler_Path = textBox5.Text;
79 | }
80 | }
81 |
82 | private void textBox5_TextChanged(object sender, EventArgs e)
83 | {
84 | Settings.Compiler_Path = textBox5.Text;
85 | }
86 |
87 | private void button6_Click(object sender, EventArgs e)
88 | {
89 | Log.Info("开始导出");
90 | Manager.Export();
91 | Log.Info("导出结束");
92 | Config.Save();
93 | }
94 |
95 | private void textBox6_TextChanged(object sender, EventArgs e)
96 | {
97 | textBox6.SelectionStart = textBox6.Text.Length; //Set the current caret position at the end
98 | textBox6.ScrollToCaret(); //Now scroll it automatically
99 | }
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/Logger.cs:
--------------------------------------------------------------------------------
1 | using HiFramework.Log;
2 | using System;
3 | using System.Runtime.ExceptionServices;
4 |
5 | namespace HiProtobuf.UI
6 | {
7 | internal class Logger : ILogHandler
8 | {
9 | internal Logger()
10 | {
11 | AppDomain.CurrentDomain.FirstChanceException += OnException;
12 | }
13 |
14 | private void OnException(object sender, FirstChanceExceptionEventArgs e)
15 | {
16 | string str = e.Exception.ToString();
17 | Log += "[Exception]" + str.ToString() + "\r\n";
18 | }
19 |
20 | public static string Log;
21 | public void Info(params object[] args)
22 | {
23 | string str = "";
24 | for (int i = 0; i < args.Length; i++)
25 | {
26 | str += args[i].ToString();
27 | }
28 | Log += "[Print]" + str.ToString() + "\r\n";
29 | }
30 |
31 | public void Warning(params object[] args)
32 | {
33 | string str = "";
34 | for (int i = 0; i < args.Length; i++)
35 | {
36 | str += args[i].ToString();
37 | }
38 | Log += "[Warning]" + str.ToString() + "\r\n";
39 | }
40 |
41 | public void Error(params object[] args)
42 | {
43 | string str = "";
44 | for (int i = 0; i < args.Length; i++)
45 | {
46 | str += args[i].ToString();
47 | }
48 | Log += "[Error]" + str.ToString() + "\r\n";
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/Program.cs:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | * Description:
3 | *
4 | * Document: https://github.com/hiramtan/HiProtobuf
5 | * Author: hiramtan@live.com
6 | ****************************************************************************/
7 | using System;
8 | using System.Collections.Generic;
9 | using System.Linq;
10 | using System.Threading.Tasks;
11 | using System.Windows.Forms;
12 | using HiFramework.Log;
13 | using HiProtobuf.Lib;
14 |
15 | namespace HiProtobuf.UI
16 | {
17 | static class Program
18 | {
19 | ///
20 | /// 应用程序的主入口点。
21 | ///
22 | [STAThread]
23 | static void Main()
24 | {
25 | Log.LogHandler = new Logger();
26 | Config.Load();
27 |
28 | Application.EnableVisualStyles();
29 | Application.SetCompatibleTextRenderingDefault(false);
30 | Application.Run(new HiProtobuf());
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的一般信息由以下
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("HiProtobuf.UI")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("HiProtobuf.UI")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 会使此程序集中的类型
18 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
19 | //请将此类型的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("5402b68a-90ad-4389-b929-db4844f36a3f")]
24 |
25 | // 程序集的版本信息由下列四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
33 | // 方法是按如下所示使用“*”: :
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本: 4.0.30319.42000
5 | //
6 | // 对此文件的更改可能导致不正确的行为,如果
7 | // 重新生成代码,则所做更改将丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace HiProtobuf.UI.Properties
12 | {
13 |
14 |
15 | ///
16 | /// 强类型资源类,用于查找本地化字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources
26 | {
27 |
28 | private static global::System.Resources.ResourceManager resourceMan;
29 |
30 | private static global::System.Globalization.CultureInfo resourceCulture;
31 |
32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
33 | internal Resources()
34 | {
35 | }
36 |
37 | ///
38 | /// 返回此类使用的缓存 ResourceManager 实例。
39 | ///
40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
41 | internal static global::System.Resources.ResourceManager ResourceManager
42 | {
43 | get
44 | {
45 | if ((resourceMan == null))
46 | {
47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HiProtobuf.UI.Properties.Resources", typeof(Resources).Assembly);
48 | resourceMan = temp;
49 | }
50 | return resourceMan;
51 | }
52 | }
53 |
54 | ///
55 | /// 覆盖当前线程的 CurrentUICulture 属性
56 | /// 使用此强类型的资源类的资源查找。
57 | ///
58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
59 | internal static global::System.Globalization.CultureInfo Culture
60 | {
61 | get
62 | {
63 | return resourceCulture;
64 | }
65 | set
66 | {
67 | resourceCulture = value;
68 | }
69 | }
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace HiProtobuf.UI.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/Config.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | D:\MyGit\github\HiProtobuf\Example\Export
4 | D:\MyGit\github\HiProtobuf\Example\Excel
5 | C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
6 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/Google.Protobuf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.UI/bin/Debug/Google.Protobuf.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/HiFramework.Assert.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.UI/bin/Debug/HiFramework.Assert.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/HiFramework.Log.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.UI/bin/Debug/HiFramework.Log.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/HiProtobuf.Lib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.UI/bin/Debug/HiProtobuf.Lib.dll
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/HiProtobuf.Lib.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.UI/bin/Debug/HiProtobuf.Lib.pdb
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/HiProtobuf.UI.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.UI/bin/Debug/HiProtobuf.UI.exe
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/HiProtobuf.UI.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/HiProtobuf.UI.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.UI/bin/Debug/HiProtobuf.UI.pdb
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/protoc-3.8.0-win64/bin/protoc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/HiProtobuf.UI/bin/Debug/protoc-3.8.0-win64/bin/protoc.exe
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/protoc-3.8.0-win64/include/google/protobuf/duration.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | syntax = "proto3";
32 |
33 | package google.protobuf;
34 |
35 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36 | option cc_enable_arenas = true;
37 | option go_package = "github.com/golang/protobuf/ptypes/duration";
38 | option java_package = "com.google.protobuf";
39 | option java_outer_classname = "DurationProto";
40 | option java_multiple_files = true;
41 | option objc_class_prefix = "GPB";
42 |
43 | // A Duration represents a signed, fixed-length span of time represented
44 | // as a count of seconds and fractions of seconds at nanosecond
45 | // resolution. It is independent of any calendar and concepts like "day"
46 | // or "month". It is related to Timestamp in that the difference between
47 | // two Timestamp values is a Duration and it can be added or subtracted
48 | // from a Timestamp. Range is approximately +-10,000 years.
49 | //
50 | // # Examples
51 | //
52 | // Example 1: Compute Duration from two Timestamps in pseudo code.
53 | //
54 | // Timestamp start = ...;
55 | // Timestamp end = ...;
56 | // Duration duration = ...;
57 | //
58 | // duration.seconds = end.seconds - start.seconds;
59 | // duration.nanos = end.nanos - start.nanos;
60 | //
61 | // if (duration.seconds < 0 && duration.nanos > 0) {
62 | // duration.seconds += 1;
63 | // duration.nanos -= 1000000000;
64 | // } else if (durations.seconds > 0 && duration.nanos < 0) {
65 | // duration.seconds -= 1;
66 | // duration.nanos += 1000000000;
67 | // }
68 | //
69 | // Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
70 | //
71 | // Timestamp start = ...;
72 | // Duration duration = ...;
73 | // Timestamp end = ...;
74 | //
75 | // end.seconds = start.seconds + duration.seconds;
76 | // end.nanos = start.nanos + duration.nanos;
77 | //
78 | // if (end.nanos < 0) {
79 | // end.seconds -= 1;
80 | // end.nanos += 1000000000;
81 | // } else if (end.nanos >= 1000000000) {
82 | // end.seconds += 1;
83 | // end.nanos -= 1000000000;
84 | // }
85 | //
86 | // Example 3: Compute Duration from datetime.timedelta in Python.
87 | //
88 | // td = datetime.timedelta(days=3, minutes=10)
89 | // duration = Duration()
90 | // duration.FromTimedelta(td)
91 | //
92 | // # JSON Mapping
93 | //
94 | // In JSON format, the Duration type is encoded as a string rather than an
95 | // object, where the string ends in the suffix "s" (indicating seconds) and
96 | // is preceded by the number of seconds, with nanoseconds expressed as
97 | // fractional seconds. For example, 3 seconds with 0 nanoseconds should be
98 | // encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
99 | // be expressed in JSON format as "3.000000001s", and 3 seconds and 1
100 | // microsecond should be expressed in JSON format as "3.000001s".
101 | //
102 | //
103 | message Duration {
104 | // Signed seconds of the span of time. Must be from -315,576,000,000
105 | // to +315,576,000,000 inclusive. Note: these bounds are computed from:
106 | // 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
107 | int64 seconds = 1;
108 |
109 | // Signed fractions of a second at nanosecond resolution of the span
110 | // of time. Durations less than one second are represented with a 0
111 | // `seconds` field and a positive or negative `nanos` field. For durations
112 | // of one second or more, a non-zero value for the `nanos` field must be
113 | // of the same sign as the `seconds` field. Must be from -999,999,999
114 | // to +999,999,999 inclusive.
115 | int32 nanos = 2;
116 | }
117 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/protoc-3.8.0-win64/include/google/protobuf/empty.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | syntax = "proto3";
32 |
33 | package google.protobuf;
34 |
35 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36 | option go_package = "github.com/golang/protobuf/ptypes/empty";
37 | option java_package = "com.google.protobuf";
38 | option java_outer_classname = "EmptyProto";
39 | option java_multiple_files = true;
40 | option objc_class_prefix = "GPB";
41 | option cc_enable_arenas = true;
42 |
43 | // A generic empty message that you can re-use to avoid defining duplicated
44 | // empty messages in your APIs. A typical example is to use it as the request
45 | // or the response type of an API method. For instance:
46 | //
47 | // service Foo {
48 | // rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
49 | // }
50 | //
51 | // The JSON representation for `Empty` is empty JSON object `{}`.
52 | message Empty {}
53 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/protoc-3.8.0-win64/include/google/protobuf/source_context.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | syntax = "proto3";
32 |
33 | package google.protobuf;
34 |
35 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36 | option java_package = "com.google.protobuf";
37 | option java_outer_classname = "SourceContextProto";
38 | option java_multiple_files = true;
39 | option objc_class_prefix = "GPB";
40 | option go_package = "google.golang.org/genproto/protobuf/source_context;source_context";
41 |
42 | // `SourceContext` represents information about the source of a
43 | // protobuf element, like the file in which it is defined.
44 | message SourceContext {
45 | // The path-qualified name of the .proto file that contained the associated
46 | // protobuf element. For example: `"google/protobuf/source_context.proto"`.
47 | string file_name = 1;
48 | }
49 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/protoc-3.8.0-win64/include/google/protobuf/struct.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | syntax = "proto3";
32 |
33 | package google.protobuf;
34 |
35 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36 | option cc_enable_arenas = true;
37 | option go_package = "github.com/golang/protobuf/ptypes/struct;structpb";
38 | option java_package = "com.google.protobuf";
39 | option java_outer_classname = "StructProto";
40 | option java_multiple_files = true;
41 | option objc_class_prefix = "GPB";
42 |
43 | // `Struct` represents a structured data value, consisting of fields
44 | // which map to dynamically typed values. In some languages, `Struct`
45 | // might be supported by a native representation. For example, in
46 | // scripting languages like JS a struct is represented as an
47 | // object. The details of that representation are described together
48 | // with the proto support for the language.
49 | //
50 | // The JSON representation for `Struct` is JSON object.
51 | message Struct {
52 | // Unordered map of dynamically typed values.
53 | map fields = 1;
54 | }
55 |
56 | // `Value` represents a dynamically typed value which can be either
57 | // null, a number, a string, a boolean, a recursive struct value, or a
58 | // list of values. A producer of value is expected to set one of that
59 | // variants, absence of any variant indicates an error.
60 | //
61 | // The JSON representation for `Value` is JSON value.
62 | message Value {
63 | // The kind of value.
64 | oneof kind {
65 | // Represents a null value.
66 | NullValue null_value = 1;
67 | // Represents a double value.
68 | double number_value = 2;
69 | // Represents a string value.
70 | string string_value = 3;
71 | // Represents a boolean value.
72 | bool bool_value = 4;
73 | // Represents a structured value.
74 | Struct struct_value = 5;
75 | // Represents a repeated `Value`.
76 | ListValue list_value = 6;
77 | }
78 | }
79 |
80 | // `NullValue` is a singleton enumeration to represent the null value for the
81 | // `Value` type union.
82 | //
83 | // The JSON representation for `NullValue` is JSON `null`.
84 | enum NullValue {
85 | // Null value.
86 | NULL_VALUE = 0;
87 | }
88 |
89 | // `ListValue` is a wrapper around a repeated field of values.
90 | //
91 | // The JSON representation for `ListValue` is JSON array.
92 | message ListValue {
93 | // Repeated field of dynamically typed values.
94 | repeated Value values = 1;
95 | }
96 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/protoc-3.8.0-win64/include/google/protobuf/wrappers.proto:
--------------------------------------------------------------------------------
1 | // Protocol Buffers - Google's data interchange format
2 | // Copyright 2008 Google Inc. All rights reserved.
3 | // https://developers.google.com/protocol-buffers/
4 | //
5 | // Redistribution and use in source and binary forms, with or without
6 | // modification, are permitted provided that the following conditions are
7 | // met:
8 | //
9 | // * Redistributions of source code must retain the above copyright
10 | // notice, this list of conditions and the following disclaimer.
11 | // * Redistributions in binary form must reproduce the above
12 | // copyright notice, this list of conditions and the following disclaimer
13 | // in the documentation and/or other materials provided with the
14 | // distribution.
15 | // * Neither the name of Google Inc. nor the names of its
16 | // contributors may be used to endorse or promote products derived from
17 | // this software without specific prior written permission.
18 | //
19 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 |
31 | // Wrappers for primitive (non-message) types. These types are useful
32 | // for embedding primitives in the `google.protobuf.Any` type and for places
33 | // where we need to distinguish between the absence of a primitive
34 | // typed field and its default value.
35 | //
36 | // These wrappers have no meaningful use within repeated fields as they lack
37 | // the ability to detect presence on individual elements.
38 | // These wrappers have no meaningful use within a map or a oneof since
39 | // individual entries of a map or fields of a oneof can already detect presence.
40 |
41 | syntax = "proto3";
42 |
43 | package google.protobuf;
44 |
45 | option csharp_namespace = "Google.Protobuf.WellKnownTypes";
46 | option cc_enable_arenas = true;
47 | option go_package = "github.com/golang/protobuf/ptypes/wrappers";
48 | option java_package = "com.google.protobuf";
49 | option java_outer_classname = "WrappersProto";
50 | option java_multiple_files = true;
51 | option objc_class_prefix = "GPB";
52 |
53 | // Wrapper message for `double`.
54 | //
55 | // The JSON representation for `DoubleValue` is JSON number.
56 | message DoubleValue {
57 | // The double value.
58 | double value = 1;
59 | }
60 |
61 | // Wrapper message for `float`.
62 | //
63 | // The JSON representation for `FloatValue` is JSON number.
64 | message FloatValue {
65 | // The float value.
66 | float value = 1;
67 | }
68 |
69 | // Wrapper message for `int64`.
70 | //
71 | // The JSON representation for `Int64Value` is JSON string.
72 | message Int64Value {
73 | // The int64 value.
74 | int64 value = 1;
75 | }
76 |
77 | // Wrapper message for `uint64`.
78 | //
79 | // The JSON representation for `UInt64Value` is JSON string.
80 | message UInt64Value {
81 | // The uint64 value.
82 | uint64 value = 1;
83 | }
84 |
85 | // Wrapper message for `int32`.
86 | //
87 | // The JSON representation for `Int32Value` is JSON number.
88 | message Int32Value {
89 | // The int32 value.
90 | int32 value = 1;
91 | }
92 |
93 | // Wrapper message for `uint32`.
94 | //
95 | // The JSON representation for `UInt32Value` is JSON number.
96 | message UInt32Value {
97 | // The uint32 value.
98 | uint32 value = 1;
99 | }
100 |
101 | // Wrapper message for `bool`.
102 | //
103 | // The JSON representation for `BoolValue` is JSON `true` and `false`.
104 | message BoolValue {
105 | // The bool value.
106 | bool value = 1;
107 | }
108 |
109 | // Wrapper message for `string`.
110 | //
111 | // The JSON representation for `StringValue` is JSON string.
112 | message StringValue {
113 | // The string value.
114 | string value = 1;
115 | }
116 |
117 | // Wrapper message for `bytes`.
118 | //
119 | // The JSON representation for `BytesValue` is JSON string.
120 | message BytesValue {
121 | // The bytes value.
122 | bytes value = 1;
123 | }
124 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/bin/Debug/protoc-3.8.0-win64/readme.txt:
--------------------------------------------------------------------------------
1 | Protocol Buffers - Google's data interchange format
2 | Copyright 2008 Google Inc.
3 | https://developers.google.com/protocol-buffers/
4 |
5 | This package contains a precompiled binary version of the protocol buffer
6 | compiler (protoc). This binary is intended for users who want to use Protocol
7 | Buffers in languages other than C++ but do not want to compile protoc
8 | themselves. To install, simply place this binary somewhere in your PATH.
9 |
10 | If you intend to use the included well known types then don't forget to
11 | copy the contents of the 'include' directory somewhere as well, for example
12 | into '/usr/local/include/'.
13 |
14 | Please refer to our official github site for more installation instructions:
15 | https://github.com/protocolbuffers/protobuf
16 |
--------------------------------------------------------------------------------
/src/HiProtobuf.UI/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/src/HiProtobuf.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29613.14
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HiProtobuf.UI", "HiProtobuf.UI\HiProtobuf.UI.csproj", "{5402B68A-90AD-4389-B929-DB4844F36A3F}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HiProtobuf.Lib", "HiProtobuf.Lib\HiProtobuf.Lib.csproj", "{6BEF4405-D34B-45EE-B577-C2F2F0336269}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HiProtobuf.Test", "HiProtobuf.Test\HiProtobuf.Test.csproj", "{71D39BEB-DF52-4E8F-B61E-5DD89B0E5DBE}"
11 | EndProject
12 | Global
13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
14 | Debug|Any CPU = Debug|Any CPU
15 | Release|Any CPU = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
18 | {5402B68A-90AD-4389-B929-DB4844F36A3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19 | {5402B68A-90AD-4389-B929-DB4844F36A3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
20 | {5402B68A-90AD-4389-B929-DB4844F36A3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {5402B68A-90AD-4389-B929-DB4844F36A3F}.Release|Any CPU.Build.0 = Release|Any CPU
22 | {6BEF4405-D34B-45EE-B577-C2F2F0336269}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {6BEF4405-D34B-45EE-B577-C2F2F0336269}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {6BEF4405-D34B-45EE-B577-C2F2F0336269}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 | {6BEF4405-D34B-45EE-B577-C2F2F0336269}.Release|Any CPU.Build.0 = Release|Any CPU
26 | {71D39BEB-DF52-4E8F-B61E-5DD89B0E5DBE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27 | {71D39BEB-DF52-4E8F-B61E-5DD89B0E5DBE}.Debug|Any CPU.Build.0 = Debug|Any CPU
28 | {71D39BEB-DF52-4E8F-B61E-5DD89B0E5DBE}.Release|Any CPU.ActiveCfg = Release|Any CPU
29 | {71D39BEB-DF52-4E8F-B61E-5DD89B0E5DBE}.Release|Any CPU.Build.0 = Release|Any CPU
30 | EndGlobalSection
31 | GlobalSection(SolutionProperties) = preSolution
32 | HideSolutionNode = FALSE
33 | EndGlobalSection
34 | GlobalSection(ExtensibilityGlobals) = postSolution
35 | SolutionGuid = {933D48B5-61FA-4E53-8C58-D48632F885CD}
36 | EndGlobalSection
37 | EndGlobal
38 |
--------------------------------------------------------------------------------
/src/HiProtobuf.sln.DotSettings.user:
--------------------------------------------------------------------------------
1 |
2 | <AssemblyExplorer>
3 | <Assembly Path="D:\MyGit\github\HiProtobuf\HiProtobuf\packages\HiFramework.Log.1.0.2\lib\net35\HiFramework.Log.dll" />
4 | <Assembly Path="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.dll" />
5 | <Assembly Path="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.1\System.Xml.dll" />
6 | </AssemblyExplorer>
--------------------------------------------------------------------------------
/src/lib/Google.Protobuf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/lib/Google.Protobuf.dll
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/EPPlus.5.0.4/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/EPPlus.5.0.4.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/EPPlus.5.0.4/EPPlus.5.0.4.nupkg
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/EPPlusLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/EPPlus.5.0.4/EPPlusLogo.png
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/lib/net35/EPPlus.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/EPPlus.5.0.4/lib/net35/EPPlus.dll
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/lib/net40/EPPlus.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/EPPlus.5.0.4/lib/net40/EPPlus.dll
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/lib/net45/EPPlus.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/EPPlus.5.0.4/lib/net45/EPPlus.dll
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/lib/netstandard2.0/EPPlus.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/EPPlus.5.0.4/lib/netstandard2.0/EPPlus.dll
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/lib/netstandard2.1/EPPlus.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/EPPlus.5.0.4/lib/netstandard2.1/EPPlus.dll
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/license.md:
--------------------------------------------------------------------------------
1 | # Polyform Noncommercial License 1.0.0
2 |
3 |
4 |
5 | ## Acceptance
6 |
7 | In order to get any license under these terms, you must agree
8 | to them as both strict obligations and conditions to all
9 | your licenses.
10 |
11 | ## Copyright License
12 |
13 | The licensor grants you a copyright license for the
14 | software to do everything you might do with the software
15 | that would otherwise infringe the licensor's copyright
16 | in it for any permitted purpose. However, you may
17 | only distribute the software according to [Distribution
18 | License](#distribution-license) and make changes or new works
19 | based on the software according to [Changes and New Works
20 | License](#changes-and-new-works-license).
21 |
22 | ## Distribution License
23 |
24 | The licensor grants you an additional copyright license
25 | to distribute copies of the software. Your license
26 | to distribute covers distributing the software with
27 | changes and new works permitted by [Changes and New Works
28 | License](#changes-and-new-works-license).
29 |
30 | ## Notices
31 |
32 | You must ensure that anyone who gets a copy of any part of
33 | the software from you also gets a copy of these terms or the
34 | URL for them above, as well as copies of any plain-text lines
35 | beginning with `Required Notice:` that the licensor provided
36 | with the software. For example:
37 |
38 | > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
39 |
40 | ## Changes and New Works License
41 |
42 | The licensor grants you an additional copyright license to
43 | make changes and new works based on the software for any
44 | permitted purpose.
45 |
46 | ## Patent License
47 |
48 | The licensor grants you a patent license for the software that
49 | covers patent claims the licensor can license, or becomes able
50 | to license, that you would infringe by using the software.
51 |
52 | ## Noncommercial Purposes
53 |
54 | Any noncommercial purpose is a permitted purpose.
55 |
56 | ## Personal Uses
57 |
58 | Personal use for research, experiment, and testing for
59 | the benefit of public knowledge, personal study, private
60 | entertainment, hobby projects, amateur pursuits, or religious
61 | observance, without any anticipated commercial application,
62 | is use for a permitted purpose.
63 |
64 | ## Noncommercial Organizations
65 |
66 | Use by any charitable organization, educational institution,
67 | public research organization, public safety or health
68 | organization, environmental protection organization,
69 | or government institution is use for a permitted purpose
70 | regardless of the source of funding or obligations resulting
71 | from the funding.
72 |
73 | ## Fair Use
74 |
75 | You may have "fair use" rights for the software under the
76 | law. These terms do not limit them.
77 |
78 | ## No Other Rights
79 |
80 | These terms do not allow you to sublicense or transfer any of
81 | your licenses to anyone else, or prevent the licensor from
82 | granting licenses to anyone else. These terms do not imply
83 | any other licenses.
84 |
85 | ## Patent Defense
86 |
87 | If you make any written claim that the software infringes or
88 | contributes to infringement of any patent, your patent license
89 | for the software granted under these terms ends immediately. If
90 | your company makes such a claim, your patent license ends
91 | immediately for work on behalf of your company.
92 |
93 | ## Violations
94 |
95 | The first time you are notified in writing that you have
96 | violated any of these terms, or done anything with the software
97 | not covered by your licenses, your licenses can nonetheless
98 | continue if you come into full compliance with these terms,
99 | and take practical steps to correct past violations, within
100 | 32 days of receiving notice. Otherwise, all your licenses
101 | end immediately.
102 |
103 | ## No Liability
104 |
105 | ***As far as the law allows, the software comes as is, without
106 | any warranty or condition, and the licensor will not be liable
107 | to you for any damages arising out of these terms or the use
108 | or nature of the software, under any kind of legal claim.***
109 |
110 | ## Definitions
111 |
112 | The **licensor** is the individual or entity offering these
113 | terms, and the **software** is the software the licensor makes
114 | available under these terms.
115 |
116 | **You** refers to the individual or entity agreeing to these
117 | terms.
118 |
119 | **Your company** is any legal entity, sole proprietorship,
120 | or other kind of organization that you work for, plus all
121 | organizations that have control over, are under the control of,
122 | or are under common control with that organization. **Control**
123 | means ownership of substantially all the assets of an entity,
124 | or the power to direct its management and policies by vote,
125 | contract, or otherwise. Control can be direct or indirect.
126 |
127 | **Your licenses** are all the licenses granted to you for the
128 | software under these terms.
129 |
130 | **Use** means anything you do with the software requiring one
131 | of your licenses.
--------------------------------------------------------------------------------
/src/packages/EPPlus.5.0.4/readme.txt:
--------------------------------------------------------------------------------
1 | # EPPlus 5
2 |
3 | ## Announcement: new license model from version 5
4 | EPPlus has from this new major version changed license from LGPL to [Polyform Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/).
5 |
6 | With the new license EPPlus is still free to use in some cases, but will require a commercial license to be used in a commercial business.
7 |
8 | This is explained in more detail [here](https://www.epplussoftware.com/Home/LgplToPolyform).
9 |
10 | Commercial licenses, which includes support, can be purchased at (https://www.epplussoftware.com/).
11 |
12 | The source code of EPPlus has moved to a [new github repository](https://github.com/EPPlusSoftware/EPPlus)
13 |
14 | ## LicenseContext parameter must be set
15 | With the license change EPPlus has a new parameter that needs to be configured. If the LicenseContext is not set, EPPlus will throw a LicenseException (only in debug mode).
16 |
17 | This is a simple configuration that can be set in a few alternative ways:
18 |
19 | ### 1. Via code
20 | ```csharp
21 | // If you are a commercial business and have
22 | // purchased commercial licenses use the static property
23 | // LicenseContext of the ExcelPackage class :
24 | ExcelPackage.LicenseContext = LicenseContext.Commercial;
25 |
26 | // If you use EPPlus in a noncommercial context
27 | // according to the Polyform Noncommercial license:
28 | ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
29 |
30 | using(var package = new ExcelPackage(new FileInfo("MyWorkbook.xlsx")))
31 | {
32 |
33 | }
34 | ```
35 | ### 2. Via appSettings.json
36 | ```json
37 | {
38 | {
39 | "EPPlus": {
40 | "ExcelPackage": {
41 | "LicenseContext": "Commercial" //The license context used
42 | }
43 | }
44 | }
45 | }
46 | ```
47 | ### 3. Via app/web.config
48 | ```xml
49 |
50 |
51 |
52 |
53 | ```
54 | ### 4. Set the environment variable 'EPPlusLicenseContext'
55 | This might be the easiest way of configuring this. Just as above, set the variable to Commercial or NonCommercial depending on your usage.
56 |
57 | **Important!** The environment variable should be set at the user level.
58 |
59 | ## New features in EPPlus 5
60 | EPPlus 5 comes with a set of new features, see (https://www.epplussoftware.com/Developers/Features)
61 |
62 | ## Breaking Changes
63 | * The default behavior for the Worksheet collection base in .NET Framework has changed from 1 to 0. This is the same default behavior as in .NET core today.
64 | * Pictures have changed the behavior as the oneCellAnchor tag is used instead of the twoCellAnchor tag with the editAs="oneCell".
65 | * ...and more, see https://epplussoftware.com/docs/5.0/articles/breakingchanges.html
66 |
67 | ## Improved documentation
68 | EPPlus 5 has new, separate sample projects for [.NET Core](https://github.com/EPPlusSoftware/EPPlus.Sample.NetCore) and [.NET Framework](https://github.com/EPPlusSoftware/EPPlus.Sample.NetFramework) respectively.
69 | There is also an updated [developer wiki](https://github.com/EPPlusSoftware/EPPlus/wiki). The work with improving the documentation will continue, feedback is highly appreciated!
--------------------------------------------------------------------------------
/src/packages/HiFramework.Assert.1.0.2/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/HiFramework.Assert.1.0.2/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/HiFramework.Assert.1.0.2/HiFramework.Assert.1.0.2.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/HiFramework.Assert.1.0.2/HiFramework.Assert.1.0.2.nupkg
--------------------------------------------------------------------------------
/src/packages/HiFramework.Assert.1.0.2/lib/net35/HiFramework.Assert.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/HiFramework.Assert.1.0.2/lib/net35/HiFramework.Assert.dll
--------------------------------------------------------------------------------
/src/packages/HiFramework.Log.1.0.6/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/HiFramework.Log.1.0.6/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/HiFramework.Log.1.0.6/HiFramework.Log.1.0.6.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/HiFramework.Log.1.0.6/HiFramework.Log.1.0.6.nupkg
--------------------------------------------------------------------------------
/src/packages/HiFramework.Log.1.0.6/lib/net35/HiFramework.Log.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/HiFramework.Log.1.0.6/lib/net35/HiFramework.Log.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/LICENSE.txt:
--------------------------------------------------------------------------------
1 | MSTest Framework
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 |
5 | MIT License
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining a copy
8 | of this software and associated documentation files (the "Software"), to deal
9 | in the Software without restriction, including without limitation the rights
10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 | copies of the Software, and to permit persons to whom the Software is
12 | furnished to do so, subject to the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be included in all
15 | copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 | SOFTWARE.
24 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/MSTest.TestAdapter.2.1.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/MSTest.TestAdapter.2.1.0.nupkg
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/Microsoft.VisualStudio.TestPlatform.TestFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/Microsoft.VisualStudio.TestPlatform.TestFramework.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/cs/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/de/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/de/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/de/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/es/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/es/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/es/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/fr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/it/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/it/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/it/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ja/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ko/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pl/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pl/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pt/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pt/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pt/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pt/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pt/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/pt/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ru/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/tr/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/_common/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/net45/MSTest.TestAdapter.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
6 | PreserveNewest
7 | False
8 |
9 |
10 | Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
11 | PreserveNewest
12 | False
13 |
14 |
15 | Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
16 | PreserveNewest
17 | False
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/net45/MSTest.TestAdapter.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 |
6 |
7 |
8 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | %(CurrentUICultureHierarchy.Identity)
25 |
26 |
27 |
28 | %(MSTestV2ResourceFiles.CultureString)\%(Filename)%(Extension)
29 | PreserveNewest
30 | False
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/netcoreapp1.0/MSTest.TestAdapter.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
6 | PreserveNewest
7 | False
8 |
9 |
10 | Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
11 | PreserveNewest
12 | False
13 |
14 |
15 | Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
16 | PreserveNewest
17 | False
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/netcoreapp1.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/netcoreapp1.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/uap10.0/MSTest.TestAdapter.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
6 | PreserveNewest
7 | False
8 |
9 |
10 | Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll
11 | PreserveNewest
12 | False
13 |
14 |
15 | Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
16 | PreserveNewest
17 | False
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/uap10.0/MSTest.TestAdapter.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 |
6 |
7 |
8 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | %(CurrentUICultureHierarchy.Identity)
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
34 | $(CurrentUICultureHierarchy)\%(FileName).resources.dll
35 | PreserveNewest
36 | %(FullPath)
37 | False
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestAdapter.2.1.0/build/uap10.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestAdapter.2.1.0/build/uap10.0/Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestFramework.2.1.0/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/LICENSE.txt:
--------------------------------------------------------------------------------
1 | MSTest Framework
2 |
3 | Copyright (c) Microsoft Corporation. All rights reserved.
4 |
5 | MIT License
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining a copy
8 | of this software and associated documentation files (the "Software"), to deal
9 | in the Software without restriction, including without limitation the rights
10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 | copies of the Software, and to permit persons to whom the Software is
12 | furnished to do so, subject to the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be included in all
15 | copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 | SOFTWARE.
24 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/MSTest.TestFramework.2.1.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestFramework.2.1.0/MSTest.TestFramework.2.1.0.nupkg
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestFramework.2.1.0/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestFramework.2.1.0/lib/net45/Microsoft.VisualStudio.TestPlatform.TestFramework.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/cs/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
5 |
6 |
7 |
8 |
9 | Používá se pro určení položky nasazení (souboru nebo adresáře) za účelem nasazení podle testu.
10 | Lze zadat na testovací třídě nebo testovací metodě.
11 | Může mít více instancí atributu pro zadání více než jedné položky.
12 | Cesta k položce může být absolutní nebo relativní. Pokud je relativní, je relativní ve vztahu k RunConfig.RelativePathRoot.
13 |
14 |
15 | [DeploymentItem("file1.xml")]
16 | [DeploymentItem("file2.xml", "DataFiles")]
17 | [DeploymentItem("bin\Debug")]
18 |
19 |
20 | DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future.
21 |
22 |
23 |
24 |
25 | Inicializuje novou instanci třídy .
26 |
27 | Soubor nebo adresář, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do adresáře, ve kterém jsou nasazená testovací sestavení.
28 |
29 |
30 |
31 | Inicializuje novou instanci třídy .
32 |
33 | Relativní nebo absolutní cesta k souboru nebo adresáři, který se má nasadit. Cesta je relativní ve vztahu k adresáři výstupu sestavení. Položka bude zkopírována do stejného adresáře jako nasazená testovací sestavení.
34 | Cesta k adresáři, do kterého se mají položky kopírovat. Může být absolutní nebo relativní ve vztahu k adresáři nasazení. Všechny soubory a adresáře určené cestou budou zkopírovány do tohoto adresáře.
35 |
36 |
37 |
38 | Získá cestu ke zdrojovému souboru nebo složce, které se mají kopírovat.
39 |
40 |
41 |
42 |
43 | Získá cestu adresáře, do kterého se položka zkopíruje.
44 |
45 |
46 |
47 |
48 | Třída TestContext. Tato třída by měla být zcela abstraktní a neměla by obsahovat žádné
49 | členy. Členy implementuje adaptér. Uživatelé rozhraní by měli
50 | k této funkci přistupovat jenom prostřednictvím dobře definovaného rozhraní.
51 |
52 |
53 |
54 |
55 | Získá vlastnosti testu.
56 |
57 |
58 |
59 |
60 | Získá plně kvalifikovaný název třídy obsahující aktuálně prováděnou testovací metodu.
61 |
62 |
63 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
64 | Those attributes have access to the test context, and provide messages that are included
65 | in the test results. Users can benefit from messages that include the fully-qualified
66 | class name in addition to the name of the test method currently being executed.
67 |
68 |
69 |
70 |
71 | Získá název aktuálně prováděné testovací metody.
72 |
73 |
74 |
75 |
76 | Získá aktuální výsledek testu.
77 |
78 |
79 |
80 |
81 | Used to write trace messages while the test is running
82 |
83 | formatted message string
84 |
85 |
86 |
87 | Used to write trace messages while the test is running
88 |
89 | format string
90 | the arguments
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/fr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
5 |
6 |
7 |
8 |
9 | Permet de spécifier l'élément de déploiement (fichier ou répertoire) pour un déploiement par test.
10 | Peut être spécifié sur une classe de test ou une méthode de test.
11 | Peut avoir plusieurs instances de l'attribut pour spécifier plusieurs éléments.
12 | Le chemin de l'élément peut être absolu ou relatif. S'il est relatif, il l'est par rapport à RunConfig.RelativePathRoot.
13 |
14 |
15 | [DeploymentItem("file1.xml")]
16 | [DeploymentItem("file2.xml", "DataFiles")]
17 | [DeploymentItem("bin\Debug")]
18 |
19 |
20 | DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future.
21 |
22 |
23 |
24 |
25 | Initialise une nouvelle instance de la classe .
26 |
27 | Fichier ou répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés.
28 |
29 |
30 |
31 | Initialise une nouvelle instance de la classe
32 |
33 | Chemin relatif ou absolu du fichier ou du répertoire à déployer. Le chemin est relatif au répertoire de sortie de build. L'élément est copié dans le même répertoire que les assemblys de tests déployés.
34 | Chemin du répertoire dans lequel les éléments doivent être copiés. Il peut être absolu ou relatif au répertoire de déploiement. Tous les fichiers et répertoires identifiés par vont être copiés dans ce répertoire.
35 |
36 |
37 |
38 | Obtient le chemin du fichier ou dossier source à copier.
39 |
40 |
41 |
42 |
43 | Obtient le chemin du répertoire dans lequel l'élément est copié.
44 |
45 |
46 |
47 |
48 | Classe TestContext. Cette classe doit être complètement abstraite, et ne doit contenir aucun
49 | membre. L'adaptateur va implémenter les membres. Les utilisateurs du framework ne doivent
50 | y accéder que via une interface bien définie.
51 |
52 |
53 |
54 |
55 | Obtient les propriétés de test d'un test.
56 |
57 |
58 |
59 |
60 | Obtient le nom complet de la classe contenant la méthode de test en cours d'exécution
61 |
62 |
63 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
64 | Those attributes have access to the test context, and provide messages that are included
65 | in the test results. Users can benefit from messages that include the fully-qualified
66 | class name in addition to the name of the test method currently being executed.
67 |
68 |
69 |
70 |
71 | Obtient le nom de la méthode de test en cours d'exécution
72 |
73 |
74 |
75 |
76 | Obtient le résultat de test actuel.
77 |
78 |
79 |
80 |
81 | Used to write trace messages while the test is running
82 |
83 | formatted message string
84 |
85 |
86 |
87 | Used to write trace messages while the test is running
88 |
89 | format string
90 | the arguments
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/ja/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
5 |
6 |
7 |
8 |
9 | テスト配置ごとに配置項目 (ファイルまたはディレクトリ) を指定するために使用されます。
10 | テスト クラスまたはテスト メソッドで指定できます。
11 | 属性に複数のインスタンスを指定して、2 つ以上の項目を指定することができます。
12 | 項目のパスには絶対パスまたは相対パスを指定できます。相対パスの場合は、RunConfig.RelativePathRoot からの相対パスです。
13 |
14 |
15 | [DeploymentItem("file1.xml")]
16 | [DeploymentItem("file2.xml", "DataFiles")]
17 | [DeploymentItem("bin\Debug")]
18 |
19 |
20 | DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future.
21 |
22 |
23 |
24 |
25 | クラスの新しいインスタンスを初期化します。
26 |
27 | 配置するファイルまたはディレクトリ。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。
28 |
29 |
30 |
31 | クラスの新しいインスタンスを初期化する
32 |
33 | 配置するファイルまたはディレクトリへの相対パスまたは絶対パス。パスはビルドの出力ディレクトリの相対パスです。項目は配置されたテスト アセンブリと同じディレクトリにコピーされます。
34 | アイテムのコピー先のディレクトリのパス。配置ディレクトリへの絶対パスまたは相対パスのいずれかを指定できます。次で識別されるすべてのファイルとディレクトリは このディレクトリにコピーされます。
35 |
36 |
37 |
38 | コピーするソース ファイルまたはフォルダーのパスを取得します。
39 |
40 |
41 |
42 |
43 | 項目のコピー先のディレクトリのパスを取得します。
44 |
45 |
46 |
47 |
48 | TestContext クラス。このクラスは完全に抽象的でなければならず、かつメンバー
49 | を含んでいてはなりません。アダプターはメンバーを実装します。フレームワーク内のユーザーは
50 | 正しく定義されたインターフェイスを介してのみこのクラスにアクセスする必要があります。
51 |
52 |
53 |
54 |
55 | テストのテスト プロパティを取得します。
56 |
57 |
58 |
59 |
60 | 現在実行中のテスト メソッドを含むクラスの完全修飾名を取得する
61 |
62 |
63 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
64 | Those attributes have access to the test context, and provide messages that are included
65 | in the test results. Users can benefit from messages that include the fully-qualified
66 | class name in addition to the name of the test method currently being executed.
67 |
68 |
69 |
70 |
71 | 現在実行中のテスト メソッドの名前を取得する
72 |
73 |
74 |
75 |
76 | 現在のテスト成果を取得します。
77 |
78 |
79 |
80 |
81 | Used to write trace messages while the test is running
82 |
83 | formatted message string
84 |
85 |
86 |
87 | Used to write trace messages while the test is running
88 |
89 | format string
90 | the arguments
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/ko/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
5 |
6 |
7 |
8 |
9 | 테스트 배포별 배포 항목(파일 또는 디렉터리)을 지정하는 데 사용됩니다.
10 | 테스트 클래스 또는 테스트 메서드에서 지정할 수 있습니다.
11 | 둘 이상의 항목을 지정하기 위한 여러 특성 인스턴스를 가질 수 있습니다.
12 | 항목 경로는 절대 또는 상대 경로일 수 있으며, 상대 경로인 경우 RunConfig.RelativePathRoot가 기준입니다.
13 |
14 |
15 | [DeploymentItem("file1.xml")]
16 | [DeploymentItem("file2.xml", "DataFiles")]
17 | [DeploymentItem("bin\Debug")]
18 |
19 |
20 | DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future.
21 |
22 |
23 |
24 |
25 | 클래스의 새 인스턴스를 초기화합니다.
26 |
27 | 배포할 파일 또는 디렉터리. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다.
28 |
29 |
30 |
31 | 클래스의 새 인스턴스를 초기화합니다.
32 |
33 | 배포할 파일 또는 디렉터리에 대한 상대 또는 절대 경로. 경로는 빌드 출력 디렉터리에 대해 상대적입니다. 배포된 테스트 어셈블리와 동일한 디렉터리에 항목이 복사됩니다.
34 | 항목을 복사할 디렉터리의 경로. 배포 디렉터리에 대한 절대 경로 또는 상대 경로일 수 있습니다.에 의해 식별되는 모든 파일 및 디렉터리는 이 디렉터리에 복사됩니다.
35 |
36 |
37 |
38 | 복사할 소스 파일 또는 폴더의 경로를 가져옵니다.
39 |
40 |
41 |
42 |
43 | 항목을 복사할 디렉터리의 경로를 가져옵니다.
44 |
45 |
46 |
47 |
48 | TestContext 클래스. 이 클래스는 완전히 추상 클래스여야 하며 멤버를 포함할
49 | 수 없습니다. 어댑터는 멤버를 구현합니다. 프레임워크의 사용자는
50 | 잘 정의된 인터페이스를 통해서만 여기에 액세스할 수 있습니다.
51 |
52 |
53 |
54 |
55 | 테스트에 대한 테스트 속성을 가져옵니다.
56 |
57 |
58 |
59 |
60 | 현재 실행 중인 테스트 메서드를 포함하는 클래스의 정규화된 이름을 가져옵니다
61 |
62 |
63 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
64 | Those attributes have access to the test context, and provide messages that are included
65 | in the test results. Users can benefit from messages that include the fully-qualified
66 | class name in addition to the name of the test method currently being executed.
67 |
68 |
69 |
70 |
71 | 현재 실행 중인 테스트 메서드의 이름을 가져옵니다.
72 |
73 |
74 |
75 |
76 | 현재 테스트 결과를 가져옵니다.
77 |
78 |
79 |
80 |
81 | Used to write trace messages while the test is running
82 |
83 | formatted message string
84 |
85 |
86 |
87 | Used to write trace messages while the test is running
88 |
89 | format string
90 | the arguments
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/pt/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
5 |
6 |
7 |
8 |
9 | Usado para especificar o item de implantação (arquivo ou diretório) para implantação por teste.
10 | Pode ser especificado em classe de teste ou em método de teste.
11 | Pode ter várias instâncias do atributo para especificar mais de um item.
12 | O caminho do item pode ser absoluto ou relativo. Se relativo, é relativo a RunConfig.RelativePathRoot.
13 |
14 |
15 | [DeploymentItem("file1.xml")]
16 | [DeploymentItem("file2.xml", "DataFiles")]
17 | [DeploymentItem("bin\Debug")]
18 |
19 |
20 | DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future.
21 |
22 |
23 |
24 |
25 | Inicializa uma nova instância da classe .
26 |
27 | O arquivo ou o diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados.
28 |
29 |
30 |
31 | Inicializa uma nova instância da classe
32 |
33 | O caminho relativo ou absoluto ao arquivo ou ao diretório a ser implantado. O caminho é relativo ao diretório de saída do build. O item será copiado para o mesmo diretório que o dos assemblies de teste implantados.
34 | O caminho do diretório para o qual os itens deverão ser copiados. Ele pode ser absoluto ou relativo ao diretório de implantação. Todos os arquivos e diretórios identificados por serão copiados para esse diretório.
35 |
36 |
37 |
38 | Obtém o caminho da pasta ou do arquivo de origem a ser copiado.
39 |
40 |
41 |
42 |
43 | Obtém o caminho do diretório para o qual o item é copiado.
44 |
45 |
46 |
47 |
48 | Classe TestContext. Essa classe deve ser totalmente abstrata e não conter nenhum
49 | membro. O adaptador implementará os membros. Os usuários na estrutura devem
50 | acessá-la somente por meio de uma interface bem definida.
51 |
52 |
53 |
54 |
55 | Obtém as propriedades de teste para um teste.
56 |
57 |
58 |
59 |
60 | Obtém o Nome totalmente qualificado da classe contendo o método de teste executado no momento
61 |
62 |
63 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
64 | Those attributes have access to the test context, and provide messages that are included
65 | in the test results. Users can benefit from messages that include the fully-qualified
66 | class name in addition to the name of the test method currently being executed.
67 |
68 |
69 |
70 |
71 | Obtém o Nome do método de teste executado no momento
72 |
73 |
74 |
75 |
76 | Obtém o resultado do teste atual.
77 |
78 |
79 |
80 |
81 | Used to write trace messages while the test is running
82 |
83 | formatted message string
84 |
85 |
86 |
87 | Used to write trace messages while the test is running
88 |
89 | format string
90 | the arguments
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/ru/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
5 |
6 |
7 |
8 |
9 | Используется для указания элемента развертывания (файл или каталог) для развертывания каждого теста.
10 | Может указываться для тестового класса или метода теста.
11 | Чтобы указать несколько элементов, можно использовать несколько экземпляров атрибута.
12 | Путь к элементу может быть абсолютным или относительным, в последнем случае он указывается по отношению к RunConfig.RelativePathRoot.
13 |
14 |
15 | [DeploymentItem("file1.xml")]
16 | [DeploymentItem("file2.xml", "DataFiles")]
17 | [DeploymentItem("bin\Debug")]
18 |
19 |
20 | DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future.
21 |
22 |
23 |
24 |
25 | Инициализирует новый экземпляр класса .
26 |
27 | Файл или каталог для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста.
28 |
29 |
30 |
31 | Инициализирует новый экземпляр класса
32 |
33 | Относительный или абсолютный путь к файлу или каталогу для развертывания. Этот путь задается относительно выходного каталога сборки. Элемент будет скопирован в тот же каталог, что и развернутые сборки теста.
34 | Путь к каталогу, в который должны быть скопированы элементы. Он может быть абсолютным или относительным (по отношению к каталогу развертывания). Все файлы и каталоги, обозначенные при помощи будет скопировано в этот каталог.
35 |
36 |
37 |
38 | Получает путь к копируемым исходному файлу или папке.
39 |
40 |
41 |
42 |
43 | Получает путь к каталогу, в который копируется элемент.
44 |
45 |
46 |
47 |
48 | Класс TestContext. Этот класс должен быть полностью абстрактным и не должен содержать ни одного элемента.
49 | Элементы будут реализованы в адаптере. Пользователи платформы должны обращаться к этому классу
50 | только при помощи четко определенного интерфейса.
51 |
52 |
53 |
54 |
55 | Получает свойства теста.
56 |
57 |
58 |
59 |
60 | Получает полное имя класса, содержащего метод теста, который выполняется в данный момент
61 |
62 |
63 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
64 | Those attributes have access to the test context, and provide messages that are included
65 | in the test results. Users can benefit from messages that include the fully-qualified
66 | class name in addition to the name of the test method currently being executed.
67 |
68 |
69 |
70 |
71 | Получает имя метода теста, выполняемого в данный момент
72 |
73 |
74 |
75 |
76 | Получает текущий результат теста.
77 |
78 |
79 |
80 |
81 | Used to write trace messages while the test is running
82 |
83 | formatted message string
84 |
85 |
86 |
87 | Used to write trace messages while the test is running
88 |
89 | format string
90 | the arguments
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/tr/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
5 |
6 |
7 |
8 |
9 | Test başına dağıtım için dağıtım öğesi (dosya veya dizin) belirtmek üzere kullanılır.
10 | Test sınıfında veya test metodunda belirtilebilir.
11 | Birden fazla öğe belirtmek için özniteliğin birden fazla örneğini içerebilir.
12 | Öğe yolu mutlak veya göreli olabilir; göreli ise RunConfig.RelativePathRoot ile görelidir.
13 |
14 |
15 | [DeploymentItem("file1.xml")]
16 | [DeploymentItem("file2.xml", "DataFiles")]
17 | [DeploymentItem("bin\Debug")]
18 |
19 |
20 | DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future.
21 |
22 |
23 |
24 |
25 | sınıfının yeni bir örneğini başlatır.
26 |
27 | Dağıtılacak dosya veya dizin. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır.
28 |
29 |
30 |
31 | sınıfının yeni bir örneğini başlatır
32 |
33 | Dağıtılacak dosya veya dizinin göreli ya da mutlak yolu. Yol, derleme çıktı dizinine göredir. Öğe, dağıtılan test bütünleştirilmiş kodlarıyla aynı dizine kopyalanır.
34 | Öğelerin kopyalanacağı dizinin yolu. Dağıtım dizinine göre mutlak veya göreli olabilir. Tüm dosyalar ve dizinler şuna göre tanımlanır: bu dizine kopyalanacak.
35 |
36 |
37 |
38 | Kopyalanacak kaynak dosya veya klasörün yolunu alır.
39 |
40 |
41 |
42 |
43 | Öğenin kopyalandığı dizinin yolunu alır.
44 |
45 |
46 |
47 |
48 | TestContext sınıfı. Bu sınıf tamamen soyut olmalı ve herhangi bir üye
49 | içermemelidir. Üyeler bağdaştırıcı tarafından uygulanır. Çerçevedeki kullanıcılar
50 | buna yalnızca iyi tanımlanmış bir arabirim üzerinden erişmelidir.
51 |
52 |
53 |
54 |
55 | Bir testin test özelliklerini alır.
56 |
57 |
58 |
59 |
60 | O anda yürütülen test metodunu içeren sınıfın tam adını alır
61 |
62 |
63 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
64 | Those attributes have access to the test context, and provide messages that are included
65 | in the test results. Users can benefit from messages that include the fully-qualified
66 | class name in addition to the name of the test method currently being executed.
67 |
68 |
69 |
70 |
71 | Yürütülmekte olan test metodunun Adını alır
72 |
73 |
74 |
75 |
76 | Geçerli test sonucunu alır.
77 |
78 |
79 |
80 |
81 | Used to write trace messages while the test is running
82 |
83 | formatted message string
84 |
85 |
86 |
87 | Used to write trace messages while the test is running
88 |
89 | format string
90 | the arguments
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/zh-Hans/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
5 |
6 |
7 |
8 |
9 | 用于为预测试部署指定部署项(文件或目录)。
10 | 可在测试类或测试方法上指定。
11 | 可使用多个特性实例来指定多个项。
12 | 项路径可以是绝对路径或相对路径,如果为相对路径,则相对于 RunConfig.RelativePathRoot。
13 |
14 |
15 | [DeploymentItem("file1.xml")]
16 | [DeploymentItem("file2.xml", "DataFiles")]
17 | [DeploymentItem("bin\Debug")]
18 |
19 |
20 | DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future.
21 |
22 |
23 |
24 |
25 | 初始化 类的新实例。
26 |
27 | 要部署的文件或目录。路径与生成输出目录相关。将项复制到与已部署测试程序集相同的目录。
28 |
29 |
30 |
31 | 初始化 类的新实例
32 |
33 | 要部署的文件或目录的相对路径或绝对路径。该路径相对于生成输出目录。将项复制到与已部署测试程序集相同的目录。
34 | 要将项复制到其中的目录路径。它可以是绝对部署目录或相对部署目录。所有由以下对象标识的文件和目录: 将复制到此目录。
35 |
36 |
37 |
38 | 获取要复制的源文件或文件夹的路径。
39 |
40 |
41 |
42 |
43 | 获取将项复制到其中的目录路径。
44 |
45 |
46 |
47 |
48 | TestContext 类。此类应完全抽象,且不包含任何
49 | 成员。适配器将实现成员。框架中的用户应
50 | 仅通过定义完善的接口对此进行访问。
51 |
52 |
53 |
54 |
55 | 获取测试的测试属性。
56 |
57 |
58 |
59 |
60 | 获取包含当前正在执行的测试方法的类的完全限定名称
61 |
62 |
63 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
64 | Those attributes have access to the test context, and provide messages that are included
65 | in the test results. Users can benefit from messages that include the fully-qualified
66 | class name in addition to the name of the test method currently being executed.
67 |
68 |
69 |
70 |
71 | 获取当前正在执行的测试方法的名称
72 |
73 |
74 |
75 |
76 | 获取当前测试结果。
77 |
78 |
79 |
80 |
81 | Used to write trace messages while the test is running
82 |
83 | formatted message string
84 |
85 |
86 |
87 | Used to write trace messages while the test is running
88 |
89 | format string
90 | the arguments
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/netstandard1.0/zh-Hant/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions
5 |
6 |
7 |
8 |
9 | 用來指定每個測試部署的部署項目 (檔案或目錄)。
10 | 可以指定於測試類別或測試方法。
11 | 可以有屬性的多個執行個體來指定多個項目。
12 | 項目路徑可以是相對或絕對路徑,如果是相對路徑,則是 RunConfig.RelativePathRoot 的相對路徑。
13 |
14 |
15 | [DeploymentItem("file1.xml")]
16 | [DeploymentItem("file2.xml", "DataFiles")]
17 | [DeploymentItem("bin\Debug")]
18 |
19 |
20 | DeploymentItemAttribute is currently not supported in .Net Core. This is just a placehodler for support in the future.
21 |
22 |
23 |
24 |
25 | 初始化 類別的新執行個體。
26 |
27 | 要部署的檔案或目錄。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。
28 |
29 |
30 |
31 | 初始化 類別的新執行個體
32 |
33 | 要部署之檔案或目錄的相對或絕對路徑。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。
34 | 要將項目複製到其中之目錄的路徑。它可以是部署目錄的絕對或相對路徑。下者所識別的所有檔案和目錄: 將會複製到這個目錄中。
35 |
36 |
37 |
38 | 取得要複製之來源檔案或資料夾的路徑。
39 |
40 |
41 |
42 |
43 | 取得要將項目複製到其中之目錄的路徑。
44 |
45 |
46 |
47 |
48 | TestContext 類別。這個類別應該是完全抽象的,而且未包含任何
49 | 成員。配接器將會實作成員。架構中的使用者只
50 | 應透過妥善定義的介面來存取這個項目。
51 |
52 |
53 |
54 |
55 | 取得測試的測試屬性。
56 |
57 |
58 |
59 |
60 | 取得包含目前正在執行之測試方法的類別完整名稱
61 |
62 |
63 | This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
64 | Those attributes have access to the test context, and provide messages that are included
65 | in the test results. Users can benefit from messages that include the fully-qualified
66 | class name in addition to the name of the test method currently being executed.
67 |
68 |
69 |
70 |
71 | 取得目前正在執行的測試方法名稱
72 |
73 |
74 |
75 |
76 | 取得目前測試結果。
77 |
78 |
79 |
80 |
81 | Used to write trace messages while the test is running
82 |
83 | formatted message string
84 |
85 |
86 |
87 | Used to write trace messages while the test is running
88 |
89 | format string
90 | the arguments
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestFramework.2.1.0/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
--------------------------------------------------------------------------------
/src/packages/MSTest.TestFramework.2.1.0/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hiram3512/ExcelToProtobuf_csharp/a1f360d8dbb57f0248ebcd03d875f1e6690f6ddb/src/packages/MSTest.TestFramework.2.1.0/lib/uap10.0/Microsoft.VisualStudio.TestPlatform.TestFramework.dll
--------------------------------------------------------------------------------