public int Test6(Category category, Product product, Customer customer, string stringVal) { TestSerializerModel3 model = new TestSerializerModel3 { StringVal = stringVal, Category = category, Customer = customer, Product = product }; if( model.Equals(s_lastTestSerializerModel3) ) return 1; else return 0; }
public int Test5(TestSerializerModel3 model) { if( model.Equals(s_lastTestSerializerModel3) ) return 1; else return 0; }