forked from kerryjiang/SuperSocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0df5960
commit c9c14e0
Showing
336 changed files
with
73,304 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@echo off | ||
|
||
set fdir=%WINDIR%\Microsoft.NET\Framework64 | ||
|
||
if not exist %fdir% ( | ||
set fdir=%WINDIR%\Microsoft.NET\Framework | ||
) | ||
|
||
set msbuild=%fdir%\v4.0.30319\msbuild.exe | ||
|
||
%msbuild% SuperSocket.2010.sln /p:Configuration=Debug /t:Rebuild /p:OutputPath=..\bin\Net40\Debug | ||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
%msbuild% SuperSocket.2010.sln /p:Configuration=Release /t:Rebuild /p:OutputPath=..\bin\Net40\Release | ||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
%msbuild% SuperSocket.2010.NET35.sln /p:Configuration=Debug /t:Rebuild /p:OutputPath=..\bin\Net35\Debug | ||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
%msbuild% SuperSocket.2010.NET35.sln /p:Configuration=Release /t:Rebuild /p:OutputPath=..\bin\Net35\Release | ||
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | ||
|
||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
@echo off | ||
|
||
set fdir=%WINDIR%\Microsoft.NET\Framework64 | ||
|
||
if not exist %fdir% ( | ||
set fdir=%WINDIR%\Microsoft.NET\Framework | ||
) | ||
|
||
set msbuild=%fdir%\v4.0.30319\msbuild.exe | ||
|
||
%msbuild% QuickStart\QuickStart.sln /p:Configuration=Debug /t:Rebuild | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace SuperSocket.Common | ||
{ | ||
class ArraySegmentEx<T> | ||
{ | ||
public ArraySegmentEx(T[] array, int offset, int count) | ||
{ | ||
Array = array; | ||
Offset = offset; | ||
Count = count; | ||
} | ||
/// <summary> | ||
/// Gets the array. | ||
/// </summary> | ||
public T[] Array { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets the count. | ||
/// </summary> | ||
public int Count { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets the offset. | ||
/// </summary> | ||
public int Offset { get; private set; } | ||
|
||
public int From { get; set; } | ||
|
||
public int To { get; set; } | ||
} | ||
} |
Oops, something went wrong.