コード例 #1
0
ファイル: BiblioSpec.cs プロジェクト: suchp-max/proteowizard
 public bool Equals(BiblioSpecLibrary obj)
 {
     if (ReferenceEquals(null, obj))
     {
         return(false);
     }
     if (ReferenceEquals(this, obj))
     {
         return(true);
     }
     return(base.Equals(obj) && obj.Revision == Revision && Equals(obj.FilePath, FilePath));
 }
コード例 #2
0
ファイル: BiblioSpec.cs プロジェクト: suchp-max/proteowizard
        public static BiblioSpecLibrary Load(BiblioSpecLibSpec spec, ILoadMonitor loader)
        {
            var library = new BiblioSpecLibrary(spec)
            {
                FilePath = spec.FilePath
            };

            if (library.Load(loader))
            {
                return(library);
            }
            return(null);
        }
コード例 #3
0
ファイル: BiblioSpec.cs プロジェクト: suchp-max/proteowizard
 public override Library LoadLibrary(ILoadMonitor loader)
 {
     return(BiblioSpecLibrary.Load(this, loader));
 }
コード例 #4
0
ファイル: BiblioSpec.cs プロジェクト: lgatto/proteowizard
 public bool Equals(BiblioSpecLibrary obj)
 {
     if (ReferenceEquals(null, obj)) return false;
     if (ReferenceEquals(this, obj)) return true;
     return base.Equals(obj) && obj.Revision == Revision && Equals(obj.FilePath, FilePath);
 }
コード例 #5
0
ファイル: BiblioSpec.cs プロジェクト: lgatto/proteowizard
 public static BiblioSpecLibrary Load(BiblioSpecLibSpec spec, ILoadMonitor loader)
 {
     var library = new BiblioSpecLibrary(spec) { FilePath = spec.FilePath };
     if (library.Load(loader))
         return library;
     return null;
 }