コード例 #1
0
 /// <summary>
 /// get cached resolved-object as specific type
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="reqFont"></param>
 /// <returns></returns>
 public static T GetResolvedFont2 <T>(ReqFontSpec reqFont)
     where T : class
 {
     return(reqFont._resolvedFont2 as T);
 }
コード例 #2
0
 public static void SetResolvedFont2(ReqFontSpec reqFont, object resolvedFont)
 {
     reqFont._resolvedFont2 = resolvedFont;
 }