コード例 #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);
         }
     }            
 }    
コード例 #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);
         }
     }
 }
コード例 #3
0
ファイル: BasicPath.cs プロジェクト: dufkaf/ClientDependency
	    protected bool Equals(BasicPath other)
	    {
	        return string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase)
	               && string.Equals(Path, other.Path, StringComparison.InvariantCultureIgnoreCase);
	    }
コード例 #4
0
 protected bool Equals(BasicPath other)
 {
     return(string.Equals(Name, other.Name, StringComparison.InvariantCultureIgnoreCase) &&
            string.Equals(Path, other.Path, StringComparison.InvariantCultureIgnoreCase));
 }