/// <summary> /// Registers scheme. /// </summary> /// <param name="scheme"> /// The scheme. /// </param> public static void RegisterScheme(UrlScheme scheme) { lock (ObjLock) { UrlSchemes.Add(scheme); } }
public static void RegisterScheme(UrlScheme scheme) { lock (m_lockThis) { m_urlSchemes.Add(scheme); } }
/// <summary> /// Registers scheme. /// </summary> /// <param name="scheme"> /// The scheme. /// </param> public static void RegisterScheme(UrlScheme scheme) { lock (ObjLock) { if (!UrlSchemes.Contains(scheme)) { UrlSchemes.Add(scheme); } } }