GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ClearScript/ClearScriptTest/StaticTestClass.cs at master · ClearFoundry/ClearScript Expand file tree/ Copy pathStaticTestClass.csMore file actions 48 lines (39 loc) · 1.86 KB / Copy pathStaticTestClass.csFile metadata and controls48 lines (39 loc) · 1.86 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; namespace Microsoft.ClearScript.Test { public static class StaticTestClass { public static int[] StaticField; public static short StaticScalarField; public static TestEnum StaticEnumField; public static TimeSpan StaticStructField; public static int[] StaticProperty { get; set; } public static short StaticScalarProperty { get; set; } public static TestEnum StaticEnumProperty { get; set; } public static TimeSpan StaticStructProperty { get; set; } public static byte StaticReadOnlyProperty => 93; public static event EventHandler<TestEventArgs<short>> StaticEvent; public static void StaticFireEvent(short arg) { StaticEvent?.Invoke(typeof(StaticTestClass), new TestEventArgs<short> { Arg = arg }); } public static double StaticMethod(string arg1, int arg2) { return TestUtil.CalcTestValue(new Guid("e9bc20b4-3f24-4c99-b2dd-34d7e533bc10"), typeof(StaticTestClass), arg1.Length, arg2); } public static double StaticMethod<T>(string arg1, int arg2, T arg3) where T : struct { return TestUtil.CalcTestValue(new Guid("1f78dcb0-ecd9-4497-b67a-88684a5b3352"), typeof(StaticTestClass), arg1.Length, arg2, arg3.ToString().Length); } public static double StaticMethod<T>(int arg) where T : struct { return TestUtil.CalcTestValue(new Guid("6298f0a4-01c7-4600-870b-99917b92a4de"), typeof(StaticTestClass), typeof(T).Name.Length, arg); } public static double StaticBindTestMethod<T>(T arg) { return TestUtil.CalcTestValue(new Guid("d1e979f2-47cd-44fa-a21a-7b215f18bd67"), typeof(StaticTestClass), typeof(T), arg); } } } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |