public void Clear(bool RaiseChangedEvent) { if (RaiseChangedEvent) { Name = String.Empty; Host = String.Empty; Port = DEFAULTPORT; StringDictionary = String.Empty; Username = String.Empty; Password = String.Empty; Character = String.Empty; IgnoreList.Clear(); } else { name = String.Empty; host = String.Empty; port = DEFAULTPORT; stringdictionary = String.Empty; username = String.Empty; password = String.Empty; character = String.Empty; IgnoreList.Clear(); } }
public static void ConfigureIgnoreList(IgnoreList ignoreList) { ignoreList.Clear(); ignoreList.Ignore("*.intellisense.js"); ignoreList.Ignore("*-vsdoc.js"); ignoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled); }
public static void ResetIgnorePatterns(IgnoreList ignoreList) { ignoreList.Clear(); ignoreList.Ignore("*.intellisense.js"); ignoreList.Ignore("*-vsdoc.js"); ignoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled); //ignoreList.Ignore("*.min.js", OptimizationMode.WhenDisabled); ignoreList.Ignore("*.min.css", OptimizationMode.WhenDisabled); }
private static void SetupIgnorePatterns(IgnoreList ignoreList) { if (ignoreList == null) throw new ArgumentNullException("ignoreList"); ignoreList.Clear(); ignoreList.Ignore("*.intellisense.js"); ignoreList.Ignore("*-vsdoc.js"); ignoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled); }
private static void SetupIgnorePatterns(IgnoreList ignoreList) { if (ignoreList == null) { throw new ArgumentNullException("ignoreList"); } ignoreList.Clear(); ignoreList.Ignore("*.intellisense.js"); ignoreList.Ignore("*-vsdoc.js"); ignoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled); }
public static void AddDefaultIgnorePatterns(IgnoreList ignoreList) { if (ignoreList == null) { throw new ArgumentNullException("ignoreList"); } ignoreList.Clear(); ignoreList.Ignore("*.intellisense.js"); ignoreList.Ignore("*.debug.js"); ignoreList.Ignore("*-vsdoc.js"); }
protected static void AddDefaultIgnorePatterns(IgnoreList ignoreList) { if (ignoreList == null) { throw new ArgumentNullException("ignoreList"); } ignoreList.Clear(); ignoreList.Ignore("*.intellisense.js"); ignoreList.Ignore("*-vsdoc.js"); ignoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled); ignoreList.Ignore("*.min.js", OptimizationMode.WhenDisabled); ignoreList.Ignore("*.min.css", OptimizationMode.WhenDisabled); }
public static void ConfigureIgnoreList(IgnoreList ignoreList) { if (ignoreList == null) { throw new ArgumentNullException("ignoreList"); } ignoreList.Clear(); // Clear the list, then add the new patterns. ignoreList.Ignore("*.intellisense.js"); ignoreList.Ignore("*-vsdoc.js"); ignoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled); // ignoreList.Ignore("*.min.js", OptimizationMode.WhenDisabled); ignoreList.Ignore("*.min.css", OptimizationMode.WhenDisabled); }
public static void AddDefaultIgnorePatterns(IgnoreList ignoreList) { if (ignoreList != null) { ignoreList.Clear(); ignoreList.Ignore("*.intellisense.js"); ignoreList.Ignore("*-vsdoc.js"); ignoreList.Ignore("*.debug.js", OptimizationMode.WhenEnabled); //ignoreList.Ignore("*.min.js", OptimizationMode.WhenDisabled); //signoreList.Ignore("*.min.css", OptimizationMode.WhenDisabled); return; } else { throw new ArgumentNullException("ignoreList"); } }
public void ClearTest() { BundleContext context = new BundleContext(); IgnoreList list = new IgnoreList(); list.Ignore("*"); list.Ignore("*.ignore"); list.Ignore("_*"); list.Ignore("ignore.me"); Assert.IsTrue(list.ShouldIgnore(context, ".ignore")); Assert.IsTrue(list.ShouldIgnore(context, "blah.IGNore")); Assert.IsTrue(list.ShouldIgnore(context, "_whatever")); Assert.IsTrue(list.ShouldIgnore(context, "IGNORE.me")); list.Clear(); Assert.IsFalse(list.ShouldIgnore(context, ".ignore")); Assert.IsFalse(list.ShouldIgnore(context, "blah.IGNore")); Assert.IsFalse(list.ShouldIgnore(context, "_whatever")); Assert.IsFalse(list.ShouldIgnore(context, "IGNORE.me")); }
/// <summary> /// Clears to user dictionary. /// </summary> public static void ClearUserDictionary() { UserDictionary = null; UserDictionaryWords.Clear(); IgnoreList.Clear(); }
public void ClearIgnoreList() { IgnoreList.Clear(); }