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)); }
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); }
public TypeToken(Type type) { Name = type.Name; Namespace = type.Namespace; Assembly = new AssemblyToken(type.Assembly); }