56 lines
1.9 KiB
C#
56 lines
1.9 KiB
C#
/*
|
|
* Test.Module.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
|
|
{
|
|
// *** see Test.Module.cs ***
|
|
public partial class Module
|
|
{
|
|
/// <summary>
|
|
/// An object that expresses this interface can convert itself to and from a
|
|
/// <see cref="DTS.Serialization.Test.Module"/> object.
|
|
/// </summary>
|
|
///
|
|
public interface IConvertable
|
|
{
|
|
/// <summary>
|
|
/// Convert this object to a <see cref="DTS.Serialization.Test.Module"/>.
|
|
/// </summary>
|
|
///
|
|
/// <param name="parentTest">
|
|
/// The <see cref="DTS.Serialization.ParentTest"/> that contains the afixed object.
|
|
/// </param>
|
|
///
|
|
/// <returns>
|
|
/// The <see cref="DTS.Serialization.Test.Module"/> equivalent of this object.
|
|
/// </returns>
|
|
///
|
|
Test.Module ToDtsSerializationTestModule( DTS.Serialization.Test parentTest );
|
|
|
|
/// <summary>
|
|
/// Initialize this object using the specified <see cref="DTS.Serialization.Test.Module"/>.
|
|
/// </summary>
|
|
///
|
|
/// <param name="test">
|
|
/// The <see cref="DTS.Serialization.Test.Module"/> with which this object will be initialized from.
|
|
/// </param>
|
|
///
|
|
void FromDtsSerializationTestModule( Test.Module testModule, DTS.Serialization.Test.ReportErrors reportErrors );
|
|
}
|
|
}
|
|
}
|
|
}
|