Esempio n. 1
0
 public static void AddPath(string name, string path, bool forceBundle = false)
 {
     lock (Locker)
     {
         var bp = new BasicPath(name, path) {ForceBundle = forceBundle};
         if (!Paths.Contains(bp))
         {
             Paths.Add(bp);
         }
     }            
 }    
 public static void AddPath(string name, string path, bool forceBundle = false)
 {
     lock (Locker)
     {
         var bp = new BasicPath(name, path)
         {
             ForceBundle = forceBundle
         };
         if (!Paths.Contains(bp))
         {
             Paths.Add(bp);
         }
     }
 }
Esempio n. 3
0
	    protected bool Equals(BasicPath other)
	    {
	        return string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase)
	               && string.Equals(Path, other.Path, StringComparison.InvariantCultureIgnoreCase);
	    }
Esempio n. 4
0
 protected bool Equals(BasicPath other)
 {
     return(string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase) &&
            string.Equals(Path, other.Path, StringComparison.InvariantCultureIgnoreCase));
 }