public override bool Equals(object obj) { if (object.ReferenceEquals((object)this, obj)) { return(true); } TypeFormatInfo typeFormatInfo = (TypeFormatInfo)obj; return(this.SampleType == typeFormatInfo.SampleType && this.Format == typeFormatInfo.Format && this.FormatParameters == typeFormatInfo.FormatParameters); }
protected string TypeToString(Type entityType, TypeFormatInfo settings) { if (settings.FullQualifiedName) { return(entityType.AssemblyQualifiedName); } else { return(TypeHelper.GetFullClassName(entityType)); } }