Files
DP44/Common/DTS.Common.Serialization/Test.IConvertable.cs

49 lines
1.4 KiB
C#
Raw Normal View History

2026-04-17 14:55:32 -04:00
/*
* Test.IConvertable.cs
*
* Copyright © 2009
* Diversified Technical Systems, Inc.
* All Rights Reserved
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTS.Serialization
{
// *** see Test.cs ***
public partial class Test
{
public delegate void ReportErrors(List<string> errors);
/// <summary>
/// An object that expresses this interface can convert itself to and from a
/// <see cref="DTS.Serialization.Test"/> object.
/// </summary>
///
public interface IConvertable
{
/// <summary>
/// Convert this object to a <see cref="DTS.Serialization.Test"/>.
/// </summary>
///
/// <returns>
/// The <see cref="DTS.Serialization.Test"/> equivalent of this object.
/// </returns>
///
Test ToDtsSerializationTest( );
/// <summary>
/// Initialize this object using the specified <see cref="DTS.Serialization.Test"/>.
/// </summary>
///
/// <param name="test">
/// The <see cref="DTS.Serialization.Test"/> with which this object will be initialized from.
/// </param>
///
void FromDtsSerializationTest( Test test, ReportErrors reportErrors );
}
}
}