This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IUnitOfWork : IDisposable | |
{ | |
/// <summary> | |
/// Gets this instance. | |
/// </summary> | |
/// <typeparam name="T"></typeparam> | |
/// <returns></returns> | |
IQueryable<T> All<T>() where T : class; | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface ICachedUnitOfWork : IUnitOfWork | |
{ | |
/// <summary> | |
/// Executes the specified Query or return a cached result. | |
/// </summary> | |
/// <typeparam name="TEntity">The type of the entity.</typeparam> | |
/// <typeparam name="TResult">The type of the result.</typeparam> | |
/// <param name="query">The query.</param> | |
/// <returns></returns> | |
TResult Query<TEntity, TResult>(Expression<Func<IQueryable<TEntity>, TResult>> query) where TEntity : class; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IMapping | |
{ | |
void ConfigureMapping(); | |
} | |
public abstract class OneWayMapping<TSource, TDestination> : IMapping | |
{ | |
public void ConfigureMapping() | |
{ | |
Configure(Mapper.CreateMap<TSource, TDestination>()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
signingConfigs { | |
release { | |
storeFile file("/home/jordy/.android/debug.keystore") | |
storePassword "android" | |
keyAlias "androiddebugkey" | |
keyPassword "android" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
schema { | |
query: Query | |
mutation: Mutation | |
subscription: Subscription | |
} | |
""" | |
A `AlertManagementHttpIntegrationID` is a global ID. It is encoded as a string. | |
An example `AlertManagementHttpIntegrationID` is: `"gid://gitlab/AlertManagement::HttpIntegration/1"`. | |
""" |