diff --git a/GSharp.Modules.Sort/GSharp.Modules.Sort.cs b/GSharp.Modules.Sort/GSharp.Modules.Sort.cs new file mode 100644 index 0000000..96be0ae --- /dev/null +++ b/GSharp.Modules.Sort/GSharp.Modules.Sort.cs @@ -0,0 +1,27 @@ +using GSharp.Extension.Abstracts; +using GSharp.Extension.Attributes; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace GSharp.Modules.Sort +{ + public class ArraySort : GModule + { + [GCommand("{0} 배열 순서대로 정렬")] + public static void SortArray(Array arr) + { + Array.Sort(arr); + } + + [GCommand("{0} 배열 역순으로 정렬")] + public static void ReverseArray(Array arr) + { + Array.Sort(arr); + Array.Reverse(arr); + } + } +} diff --git a/GSharp.Modules.Sort/GSharp.Modules.Sort.csproj b/GSharp.Modules.Sort/GSharp.Modules.Sort.csproj new file mode 100644 index 0000000..de2cd72 --- /dev/null +++ b/GSharp.Modules.Sort/GSharp.Modules.Sort.csproj @@ -0,0 +1,51 @@ + + + + + Debug + AnyCPU + {26376259-269B-4F67-BAC2-4D559725DD2D} + Library + Properties + GSharp.Modules.Sort + GSharp.Modules.Sort + v4.5 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\..\..\Desktop\GSharp.Extension.dll + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/GSharp.Modules.Sort/Properties/AssemblyInfo.cs b/GSharp.Modules.Sort/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..56124f2 --- /dev/null +++ b/GSharp.Modules.Sort/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 +// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 +// 이러한 특성 값을 변경하세요. +[assembly: AssemblyTitle("GSharp.Modules.Sort")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("GSharp.Modules.Sort")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에 +// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면 +// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요. +[assembly: ComVisible(false)] + +// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다. +[assembly: Guid("26376259-269b-4f67-bac2-4d559725dd2d")] + +// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다. +// +// 주 버전 +// 부 버전 +// 빌드 번호 +// 수정 버전 +// +// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를 +// 기본값으로 할 수 있습니다. +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")]