コード例 #1
0
ファイル: ConfigurationGraph.cs プロジェクト: moacap/fubumvc
        public void AddImport(RegistryImport import)
        {
            if (HasImported(import.Registry))
            {
                return;
            }

            _imports.Add(import);
        }
コード例 #2
0
ファイル: ConfigGraph.cs プロジェクト: chester89/fubumvc
        public void AddImport(RegistryImport import)
        {
            if (HasImported(import.Registry))
            {
                return;
            }

            import.Provenance = CurrentProvenance;
            _imports.Add(import);
        }
コード例 #3
0
ファイル: RegistryImport.cs プロジェクト: chester89/fubumvc
 public bool Equals(RegistryImport other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Prefix, Prefix) && Equals(other.Registry.GetType(), Registry.GetType()));
 }
コード例 #4
0
ファイル: RegistryImport.cs プロジェクト: chadmyers/fubumvc
        public bool Equals(RegistryImport other)
        {
            if (Type == null)
            {
                return(false);
            }

            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }
            return(Equals(other.Prefix, Prefix) && Equals(other.Type, Type));
        }