public CanAddItemTests() { var testContext = new StemTestContext(); _canAddItemValue = new CanAddItemValue(); testContext.TestDependencyResolver.Add(_canAddItemValue); _restCollection = testContext.GetArtistsCollection <ArtistsStem>(); }
public SoftDeleteTests() { _testDeletedValue = new TestDeletedValue(); _testContext = new StemTestContext(); _testContext.TestDependencyResolver.Add(_testDeletedValue); _restCollection = _testContext.GetArtistsCollection <ArtistsStem>(); }
public OverrideEventsTests() { _eventChecker = new EventChecker(); var testContext = new StemTestContext(); testContext.TestDependencyResolver.Add(_eventChecker); _restCollection = testContext.GetArtistsCollection <ArtistsStem>(); }
public NestingTests() { var testContext = new StemTestContext(); _restCollection = testContext.GetArtistsCollection <ArtistsStem>(); }
public AutoExpressionTests() { var testContext = new StemTestContext(); _restCollection = testContext.GetArtistsCollection <ArtistsStem>(); }
public IdentifierCombinedTests() { var testContext = new StemTestContext(); _restCollection = testContext.GetArtistsCollection <ArtistsStem>(); }
public static Task <CreatedItemAcknowledgment> AddAsync([NotNull] this IRestCollection collection, object anonymousObj) { return(collection.AddAsync(new RestItemData(anonymousObj))); }
public static IRestItem GetItem([NotNull] this IRestCollection collection, int identifier) { return(collection.GetItem(identifier.ToString())); }
internal RestCollectionEndpoint(IEndpointContext endpointContext, IRestCollection collection) { Context = endpointContext; Collection = collection; }
public AppController(IUnitOfWork unitOfWork, IRestCollection <TEntity, TKey> collection) : base(unitOfWork, collection) { }
public ComplexFieldGettersTests() { var testContext = new StemTestContext(); _restCollection = testContext.GetArtistsCollection <ArtistsStem>(); }
public SubstemsTests() { var testContext = new StemTestContext(); _restCollection = testContext.GetArtistsCollection <TestStem>(); }