22 lines
1009 B
C#
22 lines
1009 B
C#
|
|
using System.Collections.Generic;
|
|||
|
|
using DTS.Common.Base;
|
|||
|
|
|
|||
|
|
namespace DTS.Common.Interface.Groups
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// controls parsing out channels from .GRP file, displaying results, and allowing selection of groups and renaming of groups
|
|||
|
|
/// </summary>
|
|||
|
|
public interface IGroupImportPreviewView:IBaseView
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// validates currently selected groups, including channels and group names
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="errors">any errors that were detected during validation. Errors indicate you can not continue</param>
|
|||
|
|
/// <param name="warnings">any warnings that were detected during validation. Warnings are not fatal and user can continue
|
|||
|
|
/// if they want
|
|||
|
|
/// </param>
|
|||
|
|
/// <returns>true if all groups selected in preview are valid, false if there are invalid groups selected</returns>
|
|||
|
|
bool Validate(bool userIsAdmin, out List<string>errors, out List<string> warnings);
|
|||
|
|
}
|
|||
|
|
}
|