Skip to content

Commit

Permalink
Misc: XML documentation is now generated on application build. Added …
Browse files Browse the repository at this point in the history
…missing comments.
  • Loading branch information
Arcidev committed Mar 13, 2016
1 parent 588c524 commit 381269f
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Arci.Networking/Arci.Networking.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<DocumentationFile>bin\Release\Arci.Networking.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -44,10 +45,10 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Client.cs" />
<Compile Include="Data\GenericNumberMethodTemplate.cs">
<Compile Include="Data\ByteBufferGenericTemplate.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>GenericNumberMethodTemplate.tt</DependentUpon>
<DependentUpon>ByteBufferGenericTemplate.tt</DependentUpon>
</Compile>
<Compile Include="Data\Guid.cs" />
<Compile Include="Data\ByteBuffer.cs" />
Expand All @@ -58,9 +59,9 @@
<Compile Include="Server.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Data\GenericNumberMethodTemplate.tt">
<Content Include="Data\ByteBufferGenericTemplate.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>GenericNumberMethodTemplate.cs</LastGenOutput>
<LastGenOutput>ByteBufferGenericTemplate.cs</LastGenOutput>
</Content>
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions Arci.Networking/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

namespace Arci.Networking
{
/// <summary>
/// Client instance
/// </summary>
public class Client : IDisposable
{
private TcpClient tcpClnt;
Expand Down
3 changes: 3 additions & 0 deletions Arci.Networking/Data/ByteBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

namespace Arci.Networking.Data
{
/// <summary>
/// Byffer to store byte stream
/// </summary>
public partial class ByteBuffer : IDisposable
{
private BinaryReader readData;
Expand Down
3 changes: 3 additions & 0 deletions Arci.Networking/Data/Guid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace Arci.Networking.Data
{
/// <summary>
/// Represents 64bit integer as 8 byte values
/// </summary>
public class Guid
{
private byte[] byteVal;
Expand Down
3 changes: 3 additions & 0 deletions Arci.Networking/Data/Packet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace Arci.Networking.Data
{
/// <summary>
/// Represents byte stream as a packet
/// </summary>
public partial class Packet : ByteBuffer
{
/// <summary>
Expand Down
5 changes: 4 additions & 1 deletion Arci.Networking/Security/AesEncryptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

namespace Arci.Networking.Security
{
/// <summary>
/// Aes encryptor
/// </summary>
public class AesEncryptor : IDisposable
{
private Aes aes;
Expand Down Expand Up @@ -99,7 +102,7 @@ public byte[] Decrypt(string toDecrypt)
/// <summary>
/// Decrypts data
/// </summary>
/// <param name="toDecrypt">Data to decrypt</param>
/// <param name="toDecode">Data to decrypt</param>
/// <returns>Decrypted data</returns>
public byte[] Decrypt(byte[] toDecode)
{
Expand Down
3 changes: 3 additions & 0 deletions Arci.Networking/Security/RsaEncryptor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

namespace Arci.Networking.Security
{
/// <summary>
/// Rsa encryptor
/// </summary>
public class RsaEncryptor : IDisposable
{
private RSACryptoServiceProvider rsa;
Expand Down
3 changes: 3 additions & 0 deletions Arci.Networking/Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

namespace Arci.Networking
{
/// <summary>
/// Server instance
/// </summary>
public class Server : IDisposable
{
private TcpListener server;
Expand Down

0 comments on commit 381269f

Please sign in to comment.