Ejemplo n.º 1
0
 public bool Equals(AssemblyToken other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.Name, Name) && Equals(other.Version, Version) && Equals(other.FullName, FullName));
 }
Ejemplo n.º 2
0
 public TypeToken(Type type)
 {
     Name      = type.Name;
     Namespace = type.Namespace;
     Assembly  = new AssemblyToken(type.Assembly);
 }
Ejemplo n.º 3
0
 public bool Equals(AssemblyToken other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return Equals(other.Name, Name) && Equals(other.Version, Version) && Equals(other.FullName, FullName);
 }
Ejemplo n.º 4
0
 public TypeToken(Type type)
 {
     Name = type.Name;
     Namespace = type.Namespace;
     Assembly = new AssemblyToken(type.Assembly);
 }