예제 #1
0
파일: Type.cs 프로젝트: scharnyw/dotNext
 /// <summary>
 /// Calls static constructor of type <typeparamref name="T"/>.
 /// </summary>
 /// <remarks>
 /// This method doesn't call static constructor if type is already initialized.
 /// </remarks>
 public static void Initialize() => RunClassConstructor(Intrinsics.TypeOf <T>());