mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05:00 
			
		
		
		
	Cleaning up
This commit is contained in:
		
							parent
							
								
									1bcd587401
								
							
						
					
					
						commit
						a4b4622fa5
					
				@ -42,19 +42,6 @@ namespace Kyoo.Controllers
 | 
				
			|||||||
		/// <inheritdoc/>
 | 
							/// <inheritdoc/>
 | 
				
			||||||
		public Type RepositoryType => typeof(T);
 | 
							public Type RepositoryType => typeof(T);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		/// <inheritdoc/>
 | 
					 | 
				
			||||||
		public virtual void Dispose()
 | 
					 | 
				
			||||||
		{
 | 
					 | 
				
			||||||
			Database.Dispose();
 | 
					 | 
				
			||||||
			GC.SuppressFinalize(this);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		/// <inheritdoc/>
 | 
					 | 
				
			||||||
		public virtual ValueTask DisposeAsync()
 | 
					 | 
				
			||||||
		{
 | 
					 | 
				
			||||||
			return Database.DisposeAsync();
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		
 | 
					 | 
				
			||||||
		/// <summary>
 | 
							/// <summary>
 | 
				
			||||||
		/// Get a resource from it's ID and make the <see cref="Database"/> instance track it.
 | 
							/// Get a resource from it's ID and make the <see cref="Database"/> instance track it.
 | 
				
			||||||
		/// </summary>
 | 
							/// </summary>
 | 
				
			||||||
 | 
				
			|||||||
@ -5,6 +5,9 @@ namespace Kyoo.Tests
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	public class SetupTests
 | 
						public class SetupTests
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
 | 
							// TODO test libraries & repositories via a on-memory SQLite database.
 | 
				
			||||||
 | 
							// TODO Requires: Kyoo should be database agonistic and database implementations should be available via a plugin.
 | 
				
			||||||
 | 
							
 | 
				
			||||||
		// [Fact]
 | 
							// [Fact]
 | 
				
			||||||
		// public void Get_Test()
 | 
							// public void Get_Test()
 | 
				
			||||||
		// {
 | 
							// {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user