/// <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); }
public static void SetResolvedFont2(ReqFontSpec reqFont, object resolvedFont) { reqFont._resolvedFont2 = resolvedFont; }