files tree made better.

This commit is contained in:
Paul Schneider 2019-01-01 16:28:47 +00:00
commit ccc91bbf19
1630 changed files with 18209 additions and 41860 deletions

View file

@ -0,0 +1,7 @@
namespace Yavsc.Services
{
public interface IBankInterface
{
}
}

View file

@ -0,0 +1,13 @@
using System;
namespace Yavsc.Abstract.Interfaces
{
public interface IBatch<TInput, TOutput>
{
string WorkingDir { get; set; }
Action<TOutput> ResultHandler { get; }
void Launch(TInput Input);
string LogPath { get; set; }
}
}

View file

@ -0,0 +1,47 @@
namespace Yavsc.Services
{
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
using Yavsc.Abstract.Workflow;
public interface IBillingService
{
// TODO ensure a default value at using this:
/// <summary>
/// maps a command type name to a bolling code, used to get bill assets
/// </summary>
/// <returns></returns>
Dictionary<string,string> BillingMap { get; }
/// <summary>
/// Renvoye la facture associée à une clé de facturation,
/// à partir du couple suivant :
///
/// * un code de facturation
/// (identifiant associé à un type de demande du client)
/// * un entier long identifiant la demande du client
/// (à une demande, on associe au maximum une seule facture)
/// </summary>
/// <param name="billingCode">Identifiant du type de facturation</param>
/// <param name="queryId">Identifiant de la demande du client</param>
/// <returns>La facture</returns>
Task<IDecidableQuery> GetBillAsync(string billingCode, long queryId);
/// <summary>
/// All performer setting in this activity
/// </summary>
/// <param name="activityCode"></param>
/// <returns></returns>
Task<IQueryable<ISpecializationSettings>> GetPerformersSettingsAsync(string activityCode);
/// <summary>
/// Perfomer settings for the specified performer in the activity
/// </summary>
/// <param name="activityCode">activityCode</param>
/// <param name="userId">performer uid</param>
/// <returns></returns>
Task<ISpecializationSettings> GetPerformerSettingsAsync(string activityCode, string userId);
}
}

View file

@ -0,0 +1,19 @@
using System.Threading.Tasks;
using Yavsc.Abstract.Manage;
namespace Yavsc.Services
{
public interface IEmailSender
{
/// <summary>
/// Sends en email.
/// </summary>
/// <param name="username">user name in database</param>
/// <param name="email">user's email</param>
/// <param name="subject">email subject</param>
/// <param name="message">message</param>
/// <returns>the message id</returns>
Task<EmailSentViewModel> SendEmailAsync(string username, string email, string subject, string message);
}
}

View file

@ -0,0 +1,10 @@
using Yavsc.Abstract.Identity;
namespace Yavsc.Interfaces
{
public interface ICircleMember: IIdentified<long>
{
ICircle Circle { get; set; }
IApplicationUser Member { get; set; }
}
}

View file

@ -0,0 +1,10 @@
namespace Yavsc.Interfaces
{
public interface IComment<T> : IIdentified<T>
{
T GetReceiverId();
void SetReceiverId(T rid);
string Content { get; set; }
}
}

View file

@ -0,0 +1,21 @@

using Yavsc.Abstract.Identity;
namespace Yavsc.Interfaces
{
public interface IGCMDeclaration
{
string DeviceId { get; set; }
string GCMRegistrationId { get; set; }
string Model { get; set; }
string Platform { get; set; }
string Version { get; set; }
}
public interface IGoogleCloudMobileDeclaration: IGCMDeclaration
{
IApplicationUser DeviceOwner { get; set; }
string DeviceOwnerId { get; set; }
}
}

View file

@ -0,0 +1,8 @@
namespace Yavsc.Interfaces
{
public interface ILocation
{
string Address { get; set; }
long Id { get; set; }
}
}

View file

@ -0,0 +1,7 @@
namespace Yavsc.Interfaces
{
public interface INamedObject
{
string Name { get; set; }
}
}

View file

@ -0,0 +1,7 @@
namespace Yavsc.Interfaces
{
public interface IOwned
{
string OwnerId { get; }
}
}

View file

@ -0,0 +1,8 @@
namespace Yavsc.Interfaces
{
public interface IPosition
{
double Latitude { get; set; }
double Longitude { get; set; }
}
}

View file

@ -0,0 +1,9 @@
namespace Yavsc.Interfaces
{
public interface ITaggable<K>
{
string [] GetTags();
K Id { get; }
}
}

View file

@ -0,0 +1,9 @@
using Yavsc.Billing;
namespace Yavsc.Models.Billing {
public interface IBillingClause { 
string Description {get; set;}
IBillingImpacter Impacter { get; }
}
}

View file

@ -0,0 +1,14 @@
using System;
using Yavsc.Abstract.Identity;
namespace Yavsc.Interfaces
{
public interface IBookQueryData
{
ClientProviderInfo Client { get; set; }
DateTime EventDate { get; set; }
long Id { get; set; }
ILocation Location { get; set; }
decimal? Previsionnal { get; set; }
}
}

View file

@ -0,0 +1,8 @@
namespace Yavsc.Interfaces
{
public interface IContact
{
string OwnerId { get; set; }
string UserId { get; set; }
}
}