using System; using System.Collections.Generic; using System.Linq; using System.Net.Mail; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Controls; namespace HospitalServerManager.InterfacesAndEnums { public interface ISqlTableModel { List GetColumnNames(); } public interface IPrimaryKeyGetable { string GetPrimaryKey(); string GetPrimaryKeyName(); } public interface INavigator { bool IsParameterSet { get; } void SetParameter(object parameter); void RemoveParameters(); IPageNavigateable ChangeFrame(Type typeOfPage, Frame navigationFrame); } public interface IPageNavigateable { void UnloadPage(); } public interface IValidateIfInterfaceIsImplemented { /// /// Validates if type implement interface. TypeProvider have to be initialized before use this overloaded method. /// /// /// /// bool ValidateIfTypeImplementInterface(string typeName, string interfaceNameToCheck); bool ValidateIfTypeImplementInterface(Type typeToCheck, string interfaceNameToCheck); bool ValidateIfTypeImplementInterface(Type typeToCheck, Type interfaceToCheck); } public interface IProvideType { void RegisterType(Type typeToRegister); Type GetTypeFromString(string typeName); } public interface IProvideDBInfo { IEnumerable GetColumnNames(string tableName); IDictionary GetColumnTypesNames(string tableName); } public interface IHasEmailAdress { bool IsEmailAdressInitialized(); MailAddress GetEmailAdress(); } }