public SUIStringResource(string resourceFile, string baseName,object stringID) : base(resourceFile, stringID) { m_stringType = StringResourceType.ManagedString; if (m_assemblyAndBaseName.ContainsKey(resourceFile)) return; m_assemblyAndBaseName.Add(resourceFile, baseName); }
public SUIStringResource(string resourceFile, string baseName, object stringID) : base(resourceFile, stringID) { m_stringType = StringResourceType.ManagedString; if (m_assemblyAndBaseName.ContainsKey(resourceFile)) { return; } m_assemblyAndBaseName.Add(resourceFile, baseName); }
public SUIStringResourceHandler(StringResourceType stringType) { m_stringType = stringType; }
/// <summary> /// Get string resources /// </summary> /// <param name="htmlHelper"></param> /// <param name="key"></param> /// <returns></returns> public static IHtmlContent GetStringResource(this IHtmlHelper htmlHelper, string key, StringResourceType resourceType) { var content = Context.GetStringResource(key, resourceType); return(new HtmlString(content)); }
public SUIStringResource(string resourceFile, object stringID, StringResourceType stringType) : base(resourceFile, stringID) { m_stringType = stringType; }
public static string GetInternationalString(string DllPath, object stringID, StringResourceType stringType) { SUIStringResource stringResource = new SUIStringResource(DllPath, stringID, stringType); return(GetInternationalString(stringResource)); }
public static string GetInternationalString(string DllPath, object stringID, StringResourceType stringType) { SUIStringResource stringResource = new SUIStringResource(DllPath, stringID, stringType); return GetInternationalString(stringResource); }
public SUIStringResource(string resourceFile, object stringID, StringResourceType stringType) : base(resourceFile,stringID) { m_stringType = stringType; }