Exemplo 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);
         }
     }            
 }    
Exemplo n.º 2
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);
         }
     }
 }
Exemplo n.º 3
0
	    protected bool Equals(BasicPath other)
	    {
	        return string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase)
	               && string.Equals(Path, other.Path, StringComparison.InvariantCultureIgnoreCase);
	    }
Exemplo n.º 4
0
 protected bool Equals(BasicPath other)
 {
     return(string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase) &&
            string.Equals(Path, other.Path, StringComparison.InvariantCultureIgnoreCase));
 }