public override bool Equals(object obj) { EmbeddedObject eo = (EmbeddedObject)obj; if (eo == null) { return(false); } if (BasicObjectValue == null && eo.BasicObjectValue == null) { return(true); } return(BasicObjectValue != null && BasicObjectValue.Equals(eo.BasicObjectValue)); }
public AdvancedObject(PrimitiveObject po, CollectionObject co, EmbeddedObject eo) { PrimitiveObjectValue = po; CollectionObjectValue = co; EmbeddedObjectValue = eo; }
public AdvancedObject(PrimitiveObject po, CollectionObject co, EmbeddedObject eo) { PrimitiveObjectValue = po; CollectionObjectValue = co; EmbeddedObjectValue = eo; }
public static void SerializeDeserialize_EmbeddedObject_Success() { EmbeddedObject eo = CreateEmbeddedObject(); SerializeDeserializeObject_Equal_Success(eo, XmlConvertOptions.None); }