PGFunction 0.0.4
dotnet add package PGFunction --version 0.0.4
NuGet\Install-Package PGFunction -Version 0.0.4
<PackageReference Include="PGFunction" Version="0.0.4" />
<PackageVersion Include="PGFunction" Version="0.0.4" />
<PackageReference Include="PGFunction" />
paket add PGFunction --version 0.0.4
#r "nuget: PGFunction, 0.0.4"
#:package PGFunction@0.0.4
#addin nuget:?package=PGFunction&version=0.0.4
#tool nuget:?package=PGFunction&version=0.0.4
Some EX Class with static function.
if has bug, please e-mail to me, i'll fix them as soon as i can.
a15752468@gmail.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|
2016/03/14 : Add Xml Serialization and DataContract Serialization.
2015/12/27 : Add MathEX and update MessageBoxEX
2015/12/27 : Record what ClassEX in here.
Now ClassEX : MathEX, MessageBoxEX, SerializationEX, ThreadEX, TryCatchEX
What's in MathEX :
Stdandard : Calculate Standard value of value list.
What's in MessageBoxEX : Simple call of MessageBox.Show( ... )
Show : use ENum MessageBoxEXType to simple the icon and button enum.
EX: MessageBoxEX.Show( "message", MessageBoxEXType.Warn_YN ); // it's mean show a message box with Warning icon and YesNo button.
What's in SerializationEX :
BinarySerialize : serialize object to path.
BinaryDeSerialize : deserialize object from path.
What's in ThreadEX :
StartNewThread : create a thread and start it.( templete with no para Action to 16 para Action )
What's in TryCatchEX :
Try : package try-catch block to a method and return exception if it has or return null if it hasn't. Best use with one line expression.
Try<Result> : package try-catch block to a method and return defaultValue if it has or return Result if it hasn't. Best use where u don't care what exception occur.
Try<Result>( ..., out Exception, ... ) : same with Try<Result> but this will set exception object if it has, or set null to it.