Skip to content

Commit 2cd6c3c

Browse files
author
喵喵大人
authored
Merge pull request #55 from CatLib/feature/1.0
Feature/1.0
2 parents 89586ac + d60ebb9 commit 2cd6c3c

File tree

10 files changed

+144
-2
lines changed

10 files changed

+144
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ ExportedObj/
3636
Icon?
3737
ehthumbs.db
3838
Thumbs.db
39+
*.nupkg

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
## 关于CatLib
1616

17-
CatLib 是一套渐进式的服务提供者框架,我们通过集成常见的开发组件来减少开发者们不必要的工作,例如:
17+
CatLib 是一套`渐进式``服务提供者框架`,我们通过集成常见的开发组件来减少开发者们不必要的工作,例如:
1818

1919
- [依赖注入容器](http://catlib.io/v1/guide/container.html).
2020
- [路由系统](http://catlib.io/v1/guide/routing.html).
@@ -31,12 +31,14 @@ CatLib提供了项目所必备的基础组件 , 您可以通过接口简单的
3131

3232
我们已经准备了各个组件的教程,您只需要进入 [中文文档](http://catlib.io) / [English Document](http://en.catlib.io) 就可以看到她们。
3333

34+
您也可以通过 [CatLib问答系统](http://ask.catlib.io) 来提出您的问题。
35+
3436
## 架构图
3537
![](http://catlib.io/images/architecture-diagram.svg)
3638

3739
## 项目开发计划
3840

39-
CatLib一直都在建立新的组件来降低开发者的工作量,进入[CatLib 开发计划](https://www.teambition.com/project/589ce998907a7b661c86de9c/tasks/scrum/589ce9aadf254b9870a7ac90)来了解未来的开发序列。
41+
CatLib一直都在建立新的组件来降低开发者的工作量,进入 [CatLib 开发计划](https://www.teambition.com/project/589ce998907a7b661c86de9c/tasks/scrum/589ce9aadf254b9870a7ac90) 来了解未来的开发序列。
4042

4143
## 贡献
4244

projects/CatLib/CatLib.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@
123123
<Compile Include="Encryption\AesEncrypter.cs" />
124124
<Compile Include="Encryption\Encrypter.cs" />
125125
<Compile Include="Encryption\EncryptionProvider.cs" />
126+
<Compile Include="Facade\Compress.cs" />
127+
<Compile Include="Facade\Converters.cs" />
128+
<Compile Include="Facade\Dispatcher.cs" />
129+
<Compile Include="Facade\Encrypter.cs" />
130+
<Compile Include="Facade\Hashing.cs" />
126131
<Compile Include="Facade\I18N.cs" />
127132
<Compile Include="Facade\Json.cs" />
128133
<Compile Include="Converters\Converters.cs" />
@@ -185,6 +190,7 @@
185190
<Compile Include="Events\EventsProvider.cs" />
186191
<Compile Include="Facade\Config.cs" />
187192
<Compile Include="Facade\FileSystem.cs" />
193+
<Compile Include="Facade\Random.cs" />
188194
<Compile Include="Facade\Router.cs" />
189195
<Compile Include="FileSystem\Adapter\Local.cs" />
190196
<Compile Include="FileSystem\Directory.cs" />

projects/CatLib/Facade/Compress.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* This file is part of the CatLib package.
3+
*
4+
* (c) Yu Bin <support@catlib.io>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* Document: http://catlib.io/
10+
*/
11+
12+
using CatLib.API.Compress;
13+
14+
namespace CatLib.Facade
15+
{
16+
/// <summary>
17+
/// 压缩器
18+
/// </summary>
19+
public sealed class Compress : Facade<ICompressManager>
20+
{
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* This file is part of the CatLib package.
3+
*
4+
* (c) Yu Bin <support@catlib.io>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* Document: http://catlib.io/
10+
*/
11+
12+
using CatLib.API.Converters;
13+
14+
namespace CatLib.Facade
15+
{
16+
/// <summary>
17+
/// 转换器
18+
/// </summary>
19+
public sealed class Converters : Facade<IConvertersManager>
20+
{
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* This file is part of the CatLib package.
3+
*
4+
* (c) Yu Bin <support@catlib.io>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* Document: http://catlib.io/
10+
*/
11+
12+
using CatLib.API.Events;
13+
14+
namespace CatLib.Facade
15+
{
16+
/// <summary>
17+
/// 全局事件调度器
18+
/// </summary>
19+
public sealed class Dispatcher : Facade<IDispatcher>
20+
{
21+
}
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* This file is part of the CatLib package.
3+
*
4+
* (c) Yu Bin <support@catlib.io>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* Document: http://catlib.io/
10+
*/
11+
12+
using CatLib.API.Encryption;
13+
14+
namespace CatLib.Facade
15+
{
16+
/// <summary>
17+
/// 加密器
18+
/// </summary>
19+
public sealed class Encrypter : Facade<IEncrypter>
20+
{
21+
}
22+
}

projects/CatLib/Facade/Hashing.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* This file is part of the CatLib package.
3+
*
4+
* (c) Yu Bin <support@catlib.io>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* Document: http://catlib.io/
10+
*/
11+
12+
using CatLib.API.Hashing;
13+
14+
namespace CatLib.Facade
15+
{
16+
/// <summary>
17+
/// 随机数
18+
/// </summary>
19+
public sealed class Hashing : Facade<IHashing>
20+
{
21+
}
22+
}

projects/CatLib/Facade/Random.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* This file is part of the CatLib package.
3+
*
4+
* (c) Yu Bin <support@catlib.io>
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* Document: http://catlib.io/
10+
*/
11+
12+
using CatLib.API.Random;
13+
14+
namespace CatLib.Facade
15+
{
16+
/// <summary>
17+
/// 随机数
18+
/// </summary>
19+
public sealed class Random : Facade<IRandomFactory>
20+
{
21+
}
22+
}

projects/settings.runsettings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<Sources>
1919
<Exclude>
2020
<Source>.*\\3rd\\.*</Source>
21+
<Source>.*\\Facade\\.*</Source>
2122
</Exclude>
2223
</Sources>
2324
</CodeCoverage>

0 commit comments

Comments
 (0)