public override string SerializeToString() { string value = string.Empty; ISerializable serializer = null; if (m_Trigger.ValueType() == typeof(iCalDateTime)) serializer = new iCalDateTimeSerializer(m_Trigger.DateTime); else serializer = new FieldSerializer(m_Trigger.Duration); if (serializer != null) value += serializer.SerializeToString(); return value; }
public override string SerializeToString() { string value = string.Empty; ISerializable serializer = null; if (m_Trigger.ValueType() == typeof(iCalDateTime)) { serializer = new iCalDateTimeSerializer(m_Trigger.DateTime); } else { serializer = new FieldSerializer(m_Trigger.Duration); } if (serializer != null) { value += serializer.SerializeToString(); } return(value); }