public MyHandlerUsingStorageSession(ICosmosStorageSession session, Context context) { this.session = session; this.context = context; }
public MyHandler(ICosmosStorageSession storageSession) { transactionalBatch = storageSession.Batch; }
public MyCustomDependency(ICosmosStorageSession storageSession) { transactionalBatch = storageSession.Batch; }
public MyRepository(ICosmosStorageSession storageSession, Context context) { this.storageSession = storageSession; this.context = context; }