示例#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>());