2016-06-27 01:45:38 +02:00
|
|
|
|
using System;
|
2021-02-21 19:01:51 +01:00
|
|
|
|
using System.Configuration;
|
2016-06-27 01:45:38 +02:00
|
|
|
|
using System.IO;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Reflection;
|
2023-09-25 19:03:08 +02:00
|
|
|
|
using System.Threading;
|
2024-11-14 17:39:07 +01:00
|
|
|
|
using BeWo.Data;
|
2016-06-27 01:45:38 +02:00
|
|
|
|
using BS.Shared.Core;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BeWo.Service.Plugins
|
|
|
|
|
|
{
|
|
|
|
|
|
public class PluginLoader
|
|
|
|
|
|
{
|
2023-09-25 19:03:08 +02:00
|
|
|
|
private static object _Lock = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
public static String Tenant
|
2016-06-27 01:45:38 +02:00
|
|
|
|
{
|
|
|
|
|
|
get
|
|
|
|
|
|
{
|
|
|
|
|
|
#if DEBUG
|
2023-07-12 10:37:55 +02:00
|
|
|
|
var t = "demo";
|
2020-08-19 12:15:10 +02:00
|
|
|
|
|
2025-03-25 17:36:15 +01:00
|
|
|
|
//t = "irgendwaswasesnichtgibt";
|
2020-10-19 17:22:40 +02:00
|
|
|
|
//t = "5473568546"; //Interner Chat
|
2021-11-29 19:31:36 +01:00
|
|
|
|
//t = "2356097460"; // Lebenshilfe Würzburg
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "1234567890"; // Präsentationsdatenbank
|
2022-05-06 10:40:39 +02:00
|
|
|
|
//t = "5687373602"; // LH Duisburg
|
2017-09-14 19:03:26 +02:00
|
|
|
|
//t = "5509064354"; // LH Duisburg Service Plus
|
2021-05-24 21:40:02 +02:00
|
|
|
|
//t = "5620636022"; // GPZ Biberach
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "8562233401"; // Sozialwirkstatt Schmitz
|
|
|
|
|
|
//t = "1076891970"; // Assistenza
|
2017-06-28 09:00:09 +02:00
|
|
|
|
//t = "0216265667"; // LH Hannover
|
2021-08-04 14:30:26 +02:00
|
|
|
|
//t = "1774789565"; // LH Essen
|
2024-01-03 12:18:26 +01:00
|
|
|
|
//t = "9342168675"; // ABC Betreuungen - jetzt Schubkraft
|
2022-08-02 13:20:36 +02:00
|
|
|
|
//t = "1193188501"; // Aids Hilfe Dortmund
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "7860351957"; // SKF Alsdorf
|
2021-02-16 14:11:10 +01:00
|
|
|
|
//t = "3311520228"; // Die Düne
|
2024-03-18 00:16:56 +01:00
|
|
|
|
//t = "1352143437"; // Sewo
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "7107514623"; // BeWo Neuss
|
|
|
|
|
|
//t = "9098141768"; // Fib e.V. Marburg
|
2022-05-06 10:40:39 +02:00
|
|
|
|
//t = "1505148718"; // VSD Hamm
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "5926081834"; // Spektrum
|
2024-09-01 20:47:02 +02:00
|
|
|
|
//t = "1378137009"; // BeWo Direkt
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "3010479871"; // Aachener Verein
|
2023-03-29 19:25:21 +02:00
|
|
|
|
//t = "3849764093"; // Club 74
|
2023-07-05 17:20:24 +02:00
|
|
|
|
//t = "5805202339"; // Wegweiser Betreuungsdienst
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "2301474784"; // Hauskrankenpflege Leiendecker
|
|
|
|
|
|
//t = "8243565510"; // Der Karren
|
2017-11-17 22:24:00 +01:00
|
|
|
|
//t = "7709306800"; // Der Karren SBD
|
2025-01-31 00:56:43 +01:00
|
|
|
|
//t = "2499262621"; // HPH Bersenbrück
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "4950382346"; // Holsinger
|
|
|
|
|
|
//t = "5973016645"; // Verein Lebensgestaltung Hanau
|
2025-04-03 16:13:47 +02:00
|
|
|
|
//t = "7375324044"; // Diakonie KK Kleve
|
2024-09-12 14:55:35 +02:00
|
|
|
|
//t = "1441747891"; // BeWo Mobil Köln
|
2021-11-16 10:56:40 +01:00
|
|
|
|
//t = "5120047701"; // Trialog
|
2023-11-29 22:54:58 +01:00
|
|
|
|
//t = "3629696651"; // Soziale Dienste Niederrhein (SDN)
|
2021-03-04 11:37:51 +01:00
|
|
|
|
//t = "9893557471"; // Caritas Frankfurt
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "2918696314"; // Caritas Frankfurt 2
|
|
|
|
|
|
//t = "6923790936"; // Integra e.V.
|
|
|
|
|
|
//t = "2392153512"; // Christopherus Haus
|
2022-01-17 19:04:46 +01:00
|
|
|
|
//t = "9495336024"; // VKM Aachen
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "5237724939"; // Indro ABW
|
|
|
|
|
|
//t = "7635986435"; // Köln Ring
|
2021-04-28 22:50:08 +02:00
|
|
|
|
//t = "4074176860"; // Soziale Dienstleistung Gessner
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "2542550178"; // LWVEingliederungshilfe
|
|
|
|
|
|
//t = "3963982016"; // Convoi
|
|
|
|
|
|
//t = "1600408120"; // BeWo Amrath
|
2025-04-15 00:51:19 +02:00
|
|
|
|
//t = "3886054624"; // Brücke ABW
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "2028095630"; // Integra Heinsberg
|
|
|
|
|
|
//t = "5351926758"; // Viva a Vida
|
2017-07-25 10:52:20 +02:00
|
|
|
|
//t = "2215396183"; // Diakonie Remscheid Lennep
|
2019-08-09 16:44:13 +02:00
|
|
|
|
//t = "5157599087"; // SHG Schwerte
|
2024-07-24 16:45:56 +02:00
|
|
|
|
//t = "4526293996"; // Fortis
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "3647969417"; // Caritas Bottrop
|
2021-10-18 00:43:47 +02:00
|
|
|
|
//t = "3057313346"; // SSB Mainz
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "6246287823"; // BeWo Alsdorf
|
|
|
|
|
|
//t = "1420341656"; // Vibb Essen
|
|
|
|
|
|
//t = "4941141927"; // Signcom
|
|
|
|
|
|
//t = "8897605322"; // SPZ Ratingen
|
|
|
|
|
|
//t = "6483870127"; // Wigonetz
|
2022-07-08 13:46:56 +02:00
|
|
|
|
//t = "9482484652"; // Blömeling und Teckhaus
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "8001550599"; // Biallas BeWo
|
2019-12-09 11:38:52 +01:00
|
|
|
|
//t = "7282396774"; // Caritas Unna
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "6884855402"; // IBP
|
2024-06-24 16:30:36 +02:00
|
|
|
|
//t = "4867997795"; // ADiK Kleve
|
2023-02-03 10:07:32 +01:00
|
|
|
|
//t = "3184859776"; // Sergej Becker
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "7752610643"; // BWK Gbr
|
2024-05-22 14:25:40 +02:00
|
|
|
|
//t = "3785623125"; // Betreuwo
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "7130228334"; // LH Borken
|
2019-07-12 17:36:37 +02:00
|
|
|
|
//t = "4209820830"; // VKM Hamm
|
2019-10-10 22:07:42 +02:00
|
|
|
|
//t = "5700328131"; // Betreutes Wohnen St. Ludgerus Essen-Werden
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "1907984777"; // Soziale Dienste Katrin Schmidt
|
|
|
|
|
|
//t = "9033246467"; // SKM Menden
|
2022-06-09 15:26:11 +02:00
|
|
|
|
//t = "9290510010"; // Soziale Dienste Schilling (ehemals BeWo Schilling)
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "5251218094"; // KOMO e.V.
|
2023-06-30 08:53:05 +02:00
|
|
|
|
//t = "3529871747"; // Talis GmbH (vorher Vivat gemeinnützige GmbH, Projekt VivatgGmbHReports)
|
2021-04-22 00:56:10 +02:00
|
|
|
|
//t = "8561513464"; // Caritasverband Wuppertal/Solingen
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "2727001973"; // SD Julia Schönberg
|
2023-01-05 13:56:27 +01:00
|
|
|
|
//t = "5653806613"; // Feid und Kollegen
|
2021-08-17 11:58:11 +02:00
|
|
|
|
//t = "3830114427"; // FiZ Familie im Zentrum Hof
|
2019-07-10 10:11:10 +02:00
|
|
|
|
//t = "7138297573"; // Tagwerk betreutes wohnen
|
2022-01-25 10:43:43 +01:00
|
|
|
|
//t = "1008896531"; // BeWo Auxilio
|
2025-04-16 14:43:47 +02:00
|
|
|
|
//t = "7802914655"; // BeWo Auxilio Ritter
|
2024-04-25 02:15:41 +02:00
|
|
|
|
//t = "9383760246"; // Die Kette
|
2021-02-24 08:28:12 +01:00
|
|
|
|
//t = "5915565037"; // Lebenshilfe Remscheid
|
2024-11-08 12:03:55 +01:00
|
|
|
|
//t = "2999433989"; // Lebenshilfe Remscheid Wohngruppe
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "3350425974"; // BeWo Rückenwind
|
|
|
|
|
|
//t = "9447917179"; // LH Rodenkirchen
|
|
|
|
|
|
//t = "4690407894"; // Bleib im Leben
|
2024-03-18 00:16:56 +01:00
|
|
|
|
//t = "2509786400"; // LH Stade
|
2018-01-08 22:29:10 +01:00
|
|
|
|
//t = "8677523325"; // BeWo Richartz
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "1765854593"; // Mein Betreutes Wohnen
|
2023-04-28 15:28:31 +02:00
|
|
|
|
//t = "6802909544"; // Lebenshilfe Coburg
|
2025-04-11 18:02:24 +02:00
|
|
|
|
//t = "9417634361"; // Synprax
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "5761861730"; // Lebenshilfe Warendorf
|
|
|
|
|
|
//t = "6712648331"; // BeWo Färber
|
2019-12-19 14:27:03 +01:00
|
|
|
|
//t = "4982295287"; // ASB Hamm
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "3890031575"; // Die Wohnhelfer Kuhrau
|
|
|
|
|
|
//t = "3536719736"; // BeWo Stefanie Schäfer (BeWoKerpen)
|
2024-12-04 14:00:33 +01:00
|
|
|
|
//t = "7739670213"; // SPZ Leverkusen
|
2023-09-22 13:09:28 +02:00
|
|
|
|
//t = "3341456098"; // Hilfe Daheim (früher BeWo Schillinger)
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "4271389563"; // Komm Mit
|
|
|
|
|
|
//t = "5430005891"; // Marienhospital Eickel
|
2021-09-07 15:51:34 +02:00
|
|
|
|
//t = "3265049248"; // Gerdas Pflegedienst
|
2023-07-31 15:29:16 +02:00
|
|
|
|
//t = "1549622397"; // Kontakt und Krisenhilfe
|
2020-10-19 17:22:40 +02:00
|
|
|
|
//t = "4782194565"; // Skm Rheydt
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "7535795843"; // Sozialwerk Dürener Christen
|
|
|
|
|
|
//t = "6388340414"; // Weitblick
|
|
|
|
|
|
//t = "0288588964"; // BeWo Marin
|
|
|
|
|
|
//t = "8872796313"; // WMB
|
|
|
|
|
|
//t = "6297638711"; // ASB Bergisch Gladbach
|
|
|
|
|
|
//t = "5553641242"; // RheinSupport (ehem. Aids und Drogenberatung)
|
2018-06-29 16:35:19 +02:00
|
|
|
|
//t = "1218057423"; // LH Koblenz
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "3517812158"; // Haus Theresia
|
|
|
|
|
|
//t = "7058292376"; // BeWo Heinsberg
|
|
|
|
|
|
//t = "3227700467"; // Psychosozialer Trägerverein
|
|
|
|
|
|
//t = "4378753169"; // Die Wohnhelfer Köln
|
|
|
|
|
|
//t = "2214258555"; // Betreuungsbüro Baak
|
2025-03-19 00:58:48 +01:00
|
|
|
|
//t = "4525013596"; // Hph Bersenbrück Freizeit und Reisen
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "1609455614"; // Hph Bersenbrück Aph
|
|
|
|
|
|
//t = "7852961459"; // B&B Betreutes Wohnen
|
2017-06-08 14:56:01 +02:00
|
|
|
|
//t = "8719930557"; // Lebenshilfe Rhein-Sieg
|
2017-02-01 13:53:59 +01:00
|
|
|
|
//t = "8947336185"; // Lebenshilfe Ahrweiler
|
|
|
|
|
|
//t = "5712358157"; // FINDUS
|
|
|
|
|
|
//t = "8828216586"; // Caritas Aachen
|
2021-08-19 09:54:50 +02:00
|
|
|
|
//t = "7062943632"; // ABW Elsebrock
|
2021-11-08 16:43:43 +01:00
|
|
|
|
//t = "3956369664"; // LH Wetterau
|
2022-12-28 23:57:47 +01:00
|
|
|
|
//t = "3984525482"; // API Berlin
|
2017-09-14 19:03:26 +02:00
|
|
|
|
//t = "9975231461"; // Selwo
|
2023-07-24 17:57:14 +02:00
|
|
|
|
//t = "8181286349"; // BeWo am Rhein
|
2017-09-14 19:03:26 +02:00
|
|
|
|
//t = "4595275645"; // Eigenständig
|
2025-04-02 17:44:39 +02:00
|
|
|
|
//t = "7912635399"; // Prof. Dr. Eggers Stiftung
|
2017-09-14 19:03:26 +02:00
|
|
|
|
//t = "3549726254"; // Socia
|
2023-07-12 11:38:39 +02:00
|
|
|
|
//t = "1992495802"; // Monvita
|
2017-09-14 19:03:26 +02:00
|
|
|
|
//t = "7381352241"; // Ressource e.V.
|
|
|
|
|
|
//t = "3607551608"; // Betreuungsbüro Scholz
|
|
|
|
|
|
//t = "3104936392"; // B.A.P. Bielefelder Ambulante Pflege
|
2024-03-20 16:41:05 +01:00
|
|
|
|
//t = "1106039294"; // Hph Bersenbrück ATZ
|
2023-07-03 21:05:05 +02:00
|
|
|
|
//t = "5562845955"; // Praunheimer Werkstätten
|
2017-09-14 19:03:26 +02:00
|
|
|
|
//t = "4801617798"; // Severin
|
|
|
|
|
|
//t = "1172092025"; // Flingern
|
2018-10-08 11:57:16 +02:00
|
|
|
|
//t = "3852198843"; // LH Mannheim
|
2017-09-14 19:03:26 +02:00
|
|
|
|
//t = "9800364930"; // BeWo Leverkusen
|
2018-06-13 14:38:35 +02:00
|
|
|
|
//t = "4439874912"; // BeWo Sahin
|
2023-07-24 17:57:14 +02:00
|
|
|
|
//t = "1873138856"; // BUG e.V.
|
2021-02-17 08:20:28 +01:00
|
|
|
|
//t = "6463422907"; // Caritas Leverkusen
|
2017-10-20 11:41:39 +02:00
|
|
|
|
//t = "6149463003"; // Diakonisches Werk Bad Windsheim Neustadt a. d. Aisch
|
2023-05-16 14:56:56 +02:00
|
|
|
|
//t = "6548202677"; // VKM Aachen SBD
|
2017-10-20 11:41:39 +02:00
|
|
|
|
//t = "7803602698"; // Taubblindendienst
|
2021-11-29 19:31:36 +01:00
|
|
|
|
//t = "5518600303"; // Wetterleuchten e.V.
|
2024-12-19 17:13:03 +01:00
|
|
|
|
//t = "4096649015"; // AWO Dortmund
|
2024-09-17 21:10:47 +02:00
|
|
|
|
//t = "3614251071"; // Pusteblume
|
2018-06-26 17:18:59 +02:00
|
|
|
|
//t = "7755740484"; // Sawo
|
|
|
|
|
|
//t = "8275654834"; // Twg Jonathan
|
2023-04-24 15:27:40 +02:00
|
|
|
|
//t = "6586058528"; // Freundeskreis Suchtkrankenhilfe e.V. (FFS)
|
2022-05-31 11:34:25 +02:00
|
|
|
|
//t = "2632162696"; // Hand in Hand (ehemals Pro BeWo Düren)
|
2023-06-07 09:45:20 +02:00
|
|
|
|
//t = "6340891020"; // Caritas Ahlen
|
2024-01-23 12:13:32 +01:00
|
|
|
|
//t = "3659854106"; // alpha e.V.
|
2021-02-17 11:58:17 +01:00
|
|
|
|
//t = "5809130435"; // Lebenshilfe Kusel
|
2018-06-26 17:18:59 +02:00
|
|
|
|
//t = "3367947706"; // PaS Mönchengladbach
|
|
|
|
|
|
//t = "2331203795"; // BeWo für dich
|
|
|
|
|
|
//t = "5426234256"; // SKM Leverkusen
|
|
|
|
|
|
//t = "4137042939"; // MLG Lebengestalten / Haus Müllestumpe
|
2021-08-17 11:58:11 +02:00
|
|
|
|
//t = "5260936181"; // LORI
|
2023-08-16 14:18:27 +02:00
|
|
|
|
//t = "1931553444"; // HIBA
|
2022-04-06 07:50:20 +02:00
|
|
|
|
//t = "7185338722"; // BeWo Walz & Paiva
|
2018-06-26 17:18:59 +02:00
|
|
|
|
//t = "3196643272"; // Betreutes Wohnen Lisa Wöll
|
2018-10-08 11:57:16 +02:00
|
|
|
|
//t = "3432911735"; // Caritas Günzburg - Neu Ulm
|
2024-04-11 09:19:36 +02:00
|
|
|
|
//t = "2591682148"; // Humanitas
|
2022-03-15 11:24:36 +01:00
|
|
|
|
//t = "9805564204"; // LeWo Aachen
|
2018-06-26 17:18:59 +02:00
|
|
|
|
//t = "7215356798"; // Triathlon
|
2019-02-12 19:22:22 +01:00
|
|
|
|
//t = "3664416736"; // LH Mönchengladbach
|
|
|
|
|
|
//t = "4290816992"; // BeWo im flow
|
|
|
|
|
|
//t = "3612443220"; // ABW Weeger
|
|
|
|
|
|
//t = "6265842607"; // BeWo Dienstleistungen Pougin und Klaasen
|
2022-01-04 12:38:27 +01:00
|
|
|
|
//t = "9273332501"; // Pflegedienst Wessel
|
2019-02-12 19:22:22 +01:00
|
|
|
|
//t = "4693476852"; // HSH Netzwerk
|
2022-05-17 11:49:07 +02:00
|
|
|
|
//t = "3884496709"; // Wahl e.V.
|
2022-04-27 17:25:44 +02:00
|
|
|
|
//t = "9883255779"; // VKM Menden (mobil GmbH)
|
2021-05-24 21:40:02 +02:00
|
|
|
|
//t = "9556218062"; // Diakonie Landshut
|
2023-05-23 16:39:02 +02:00
|
|
|
|
//t = "2279593936"; // Diakonie Mülheim
|
2023-11-29 22:54:58 +01:00
|
|
|
|
//t = "3623837005"; // Betreuwo Wesel
|
2023-07-31 15:29:16 +02:00
|
|
|
|
//t = "8407321888"; // AWO Wesel
|
2019-07-12 17:36:37 +02:00
|
|
|
|
//t = "8454426692"; // Mit-Menschen Wuppertal
|
2021-05-24 21:40:02 +02:00
|
|
|
|
//t = "0629004412"; // BeWo-Colonia Basaran (Projekt
|
2020-04-08 14:25:01 +02:00
|
|
|
|
//t = "7668701607"; // Wohnstätten Essen
|
|
|
|
|
|
//t = "3833058951"; // Aids Hilfe Duisburg (Self)
|
|
|
|
|
|
//t = "9463879250"; // ABW Dziallas und Muhrin
|
|
|
|
|
|
//t = "7964339639"; // Lebenshilfe Trier
|
|
|
|
|
|
//t = "1477928721"; // ASB Regionalverband Rhein-Erft/Dueren e.V.
|
|
|
|
|
|
//t = "6178990609"; // Johannes-Diakonie Mosbach
|
2020-04-15 18:24:01 +02:00
|
|
|
|
//t = "7185105541"; // Nous GmbH
|
2020-04-08 14:25:01 +02:00
|
|
|
|
//t = "5022131330"; // Tabula Rasa
|
|
|
|
|
|
//t = "4189934785"; // Landshuter Netzwerke
|
2023-02-15 20:13:03 +01:00
|
|
|
|
//t = "7584236951"; // Aachener Betreuungsbüro Kirschbaum und Manz GbR
|
2020-04-08 14:25:01 +02:00
|
|
|
|
//t = "3678599942"; // VKM Rietberg
|
2023-07-24 17:57:14 +02:00
|
|
|
|
//t = "4069072369"; // BeWo Dreilich&Pastor (Projekt TranskulturellesBBPastor)
|
2019-08-29 15:43:23 +02:00
|
|
|
|
//t = "4160851689"; // BeWo Dreilich&Pastor (Dreilich)
|
2020-04-08 14:25:01 +02:00
|
|
|
|
//t = "9970072066"; // Bussmannshof
|
2021-01-12 01:12:03 +01:00
|
|
|
|
//t = "2993745954"; // Kollegium für freie Jugendarbeit und Berufsbildung e.V.
|
2021-09-23 18:44:18 +02:00
|
|
|
|
//t = "5495240031"; // Christian Luft
|
2020-10-19 17:22:40 +02:00
|
|
|
|
//t = "6922762575"; // BHS Solingen
|
|
|
|
|
|
//t = "3472573348"; // ASB Mönchengladbach
|
2019-12-09 11:38:52 +01:00
|
|
|
|
//t = "8831599797"; // SeHT Münster
|
|
|
|
|
|
//t = "7817461089"; // FAB e.V. (Familienarbeit und Beratung e.V.)
|
|
|
|
|
|
//t = "5207911843"; // Pro Balance
|
2020-10-19 17:22:40 +02:00
|
|
|
|
//t = "8619663355"; // HSH Cologne
|
2023-11-08 00:34:17 +01:00
|
|
|
|
//t = "1652658918"; // LH Frankfurt Oder
|
2020-10-19 17:22:40 +02:00
|
|
|
|
//t = "7696927868"; // Kuhring Betreuung
|
|
|
|
|
|
//t = "6251348980"; // BeWo Gün
|
|
|
|
|
|
//t = "6782533512"; // LH Dorsten
|
|
|
|
|
|
//t = "5890882255"; // Fortis Nova
|
|
|
|
|
|
//t = "2422863972"; // Diakonisches Werk Mülheim (Therapeutische Wohngemeinschaft)
|
2023-03-24 13:07:59 +01:00
|
|
|
|
//t = "2141858509"; // INKOMM GmbH
|
2020-10-19 17:22:40 +02:00
|
|
|
|
//t = "8975059766"; // Quer-Fällt-Ein
|
2023-01-12 12:12:27 +01:00
|
|
|
|
//t = "8928179244"; // ASB Ruhr e.V. Regionalverband
|
2023-12-20 00:51:44 +01:00
|
|
|
|
//t = "4423043131"; // Die Perspektive e.V.
|
2020-10-19 17:22:40 +02:00
|
|
|
|
//t = "5263375280"; // LH Wolfsburg
|
|
|
|
|
|
//t = "4900722829"; // Evangelische Kirchengemeinde Bottrop
|
2021-12-20 07:52:00 +01:00
|
|
|
|
//t = "9853685258"; // Input
|
2020-10-19 17:22:40 +02:00
|
|
|
|
//t = "7622428090"; // Freie gemeinnützige Beratungsstelle für Psychotherapie e.V. (BfpDus) (Panama)
|
|
|
|
|
|
//t = "0206140343"; // Lebenswelt Gabriel
|
|
|
|
|
|
//t = "6916712798"; // LH Rodenkirchen Bewo
|
2021-06-20 23:11:01 +02:00
|
|
|
|
//t = "6255521162"; // KCM GmbH
|
2020-10-20 17:31:26 +02:00
|
|
|
|
//t = "2697528233"; // Diakonisches Werk Wesel
|
2020-10-19 17:22:40 +02:00
|
|
|
|
//t = "2547623489"; // Sprungbrett
|
|
|
|
|
|
//t = "5076807716"; // Psychosoziale Hilfen Bochum e.V.
|
2021-07-27 11:45:00 +02:00
|
|
|
|
//t = "1601313225"; // Bella Donna
|
|
|
|
|
|
//t = "5098825926"; // SAB GmbH
|
|
|
|
|
|
//t = "7808149226"; // BeWo Flex
|
|
|
|
|
|
//t = "7419804320"; // Gender Bewo
|
|
|
|
|
|
//t = "4500422855"; // BeWo Nordeifel
|
|
|
|
|
|
//t = "3565931805"; // Betreuungsbüro Frank Röhrig
|
|
|
|
|
|
//t = "4152581290"; // MVZ Medikus GmbH (Stoffwechsel Betreutes wohnen)
|
|
|
|
|
|
//t = "4529320405"; // BeWo Stelzel
|
|
|
|
|
|
//t = "2594047883"; // KOMM Ambulante Dienste e. V.
|
|
|
|
|
|
//t = "1558685648"; // KIMM
|
|
|
|
|
|
//t = "3460972350"; // Caritas Kleve I
|
|
|
|
|
|
//t = "2623845876"; // Passgenau Hildesheim
|
2021-08-19 09:54:50 +02:00
|
|
|
|
//t = "4368361336"; // Kompass BeWo Wesel
|
2021-07-27 11:45:00 +02:00
|
|
|
|
//t = "3257905806"; // Diakonisches Werk Herne
|
|
|
|
|
|
//t = "2535794597"; // Mobilo Ambulant
|
|
|
|
|
|
//t = "7114701269"; // Die Brücke Hilfe und Halt
|
|
|
|
|
|
//t = "6447060239"; // Empathie Fachassistenz
|
|
|
|
|
|
//t = "6919016656"; // Leben und Wohnen Christian Wilke
|
|
|
|
|
|
//t = "8281327384"; // Caritasverband Düren-Jülich e.V. (Eingliederungshilfe)
|
|
|
|
|
|
//t = "6023735102"; // Kölner BeWo (Selbstbestimmt Leben)
|
2024-04-15 16:33:04 +02:00
|
|
|
|
//t = "2998118179"; // BeWo Plus
|
2021-07-27 11:45:00 +02:00
|
|
|
|
//t = "9254115251"; // Praunheimer Werkstätten 2.DB
|
|
|
|
|
|
//t = "5880845152"; // Bewegt Systemische Beratung und Begleitung (Kathrin Lilly)
|
2022-04-06 07:50:20 +02:00
|
|
|
|
//t = "5798370140"; // Team Pfeil
|
2021-07-27 11:45:00 +02:00
|
|
|
|
//t = "8242644560"; // Bewolonia - Fr. Sultan Schulz
|
|
|
|
|
|
//t = "4817284046"; // Verein für Sozialmedizin Stade e.V.
|
|
|
|
|
|
//t = "6323001211"; // ASB Faßbacher Hof gGmbH
|
2022-07-08 13:46:56 +02:00
|
|
|
|
//t = "9389386079"; // VARO Sozialagentur
|
2023-11-21 10:24:07 +01:00
|
|
|
|
//t = "7951718431"; // Ambulant Betreutes Wohnen Astrid Pulm
|
2022-07-25 09:37:12 +02:00
|
|
|
|
//t = "5850903700"; // Alzey Teilhabe
|
2021-07-27 11:45:00 +02:00
|
|
|
|
//t = "5929601293"; // Lebenshilfe Duisburg Frühförderung (Projekt heißt LebenshilfeDuisburgAtz)
|
2021-10-05 13:30:20 +02:00
|
|
|
|
//t = "6860475645"; // Lebenshilfe Duisburg ATZ (Projekt heißt LebenshilfeDuisburgAtz6860475645)
|
2022-01-25 10:43:43 +01:00
|
|
|
|
//t = "9678360705"; // Lebenshilfe Duisburg HPTG (Projekt heißt LebenshilfeDuisburgHPTG)
|
2024-03-03 19:07:45 +01:00
|
|
|
|
//t = "4823067940"; // Die Kette 2
|
2021-05-24 21:40:02 +02:00
|
|
|
|
//t = "8283849714"; // Forum e.V. (proviel GmbH)
|
2021-07-07 15:05:45 +02:00
|
|
|
|
//t = "3915346496"; // Sprungbrett 2. DB (Haus Theresia)
|
2022-05-06 10:40:39 +02:00
|
|
|
|
//t = "2387527289"; // Lebenshilfe Duisburg HPFH
|
2022-06-10 10:15:06 +02:00
|
|
|
|
//t = "2314784470"; // Lebenshilfe Duisburg BeWo
|
2022-06-09 15:26:11 +02:00
|
|
|
|
//t = "5595701056"; // Domiziel Ansbach
|
2021-08-11 12:06:56 +02:00
|
|
|
|
//t = "9430188510"; // Pro INTEGRA
|
2021-07-29 10:53:56 +02:00
|
|
|
|
//t = "4820371076"; // Zuhause Wohnen Iris Thimm
|
2021-07-27 11:45:00 +02:00
|
|
|
|
//t = "1078667960"; // FAM Rhein-Sieg Gbr
|
2021-08-09 14:11:57 +02:00
|
|
|
|
//t = "9388871209"; // Sozialwerk Aachener Christen e.V.
|
2021-08-17 11:58:11 +02:00
|
|
|
|
//t = "1566251835"; // Sicherleben Michael Voß
|
2021-08-12 11:02:10 +02:00
|
|
|
|
//t = "4947061147"; // Diakonisches Werk Passau
|
2021-10-29 14:40:10 +02:00
|
|
|
|
//t = "9064234785"; // BeWo Rimbach
|
2021-09-07 15:51:34 +02:00
|
|
|
|
//t = "9433783300"; // Wichernhaus gGmbH
|
2021-09-22 15:34:38 +02:00
|
|
|
|
//t = "6282665941"; // Diakonisches Werk Regensburg
|
2021-09-27 21:44:38 +02:00
|
|
|
|
//t = "7712740386"; // Heimstatt St. Marien e.V. (Carl-Sonnenscheinhaus)
|
2021-12-09 14:25:27 +01:00
|
|
|
|
//t = "5537187628"; // Verband Ev. Kirchengemeinden Dorsten
|
2021-10-06 17:32:14 +02:00
|
|
|
|
//t = "8375099271"; // Neustart - Ambulant Betreutes Wohnen
|
2021-10-08 14:51:28 +02:00
|
|
|
|
//t = "5478434972"; // LebensWert - Kai Lippel
|
2021-12-05 19:21:17 +01:00
|
|
|
|
//t = "5381886394"; // PZDDuesseldorf
|
2021-10-28 12:19:19 +02:00
|
|
|
|
//t = "3640152169"; // Claudia Charisius
|
2021-12-09 14:25:27 +01:00
|
|
|
|
//t = "3536079480"; // Behindertenhilfe Menden
|
2022-05-30 11:45:28 +02:00
|
|
|
|
//t = "5427523619"; // Christopherus-Haus Familienhilfe
|
2021-11-10 13:16:40 +01:00
|
|
|
|
//t = "8251343124"; // Rat Plus Tat
|
2022-05-13 11:46:39 +02:00
|
|
|
|
//t = "6819347851"; // Awo Kreisverband Plön
|
2024-10-21 13:27:52 +02:00
|
|
|
|
//t = "2385915144"; // AKGG GmbH
|
2024-12-19 17:13:03 +01:00
|
|
|
|
//t = "8002913382"; // AKGG GmbH (MID)
|
2021-12-15 13:29:14 +01:00
|
|
|
|
//t = "5155880294"; // BHV Bergische Hauspflege
|
2022-02-02 13:26:33 +01:00
|
|
|
|
//t = "8366649557"; // Münchner Aids-Hilfe e.V.
|
2022-01-06 17:20:40 +01:00
|
|
|
|
//t = "2976949196"; // WHB Refrath gGmbH
|
2022-01-21 16:01:58 +01:00
|
|
|
|
//t = "3563903598"; // ABW Münster
|
|
|
|
|
|
//t = "1344064965"; // ABW Klaßen
|
2022-01-17 19:04:46 +01:00
|
|
|
|
//t = "3625103678"; // Pro Hilfe GbR | MID
|
2022-01-10 16:07:25 +01:00
|
|
|
|
//t = "6028314513"; // Grundstein e.V.
|
2023-09-19 14:44:52 +02:00
|
|
|
|
//t = "6178735147"; // Ilka Link ivi. - ambulante Hilfen, Beratung & Therapie
|
2022-05-12 15:00:16 +02:00
|
|
|
|
//t = "9416221963"; // Übergangshilfe Unna e.V.
|
2022-02-10 12:17:08 +01:00
|
|
|
|
//t = "1316958991"; // Aidshilfe Essen
|
2022-02-02 11:52:34 +01:00
|
|
|
|
//t = "3718732195"; // Diakonie Remscheid Lennep (Jobfit)
|
|
|
|
|
|
//t = "4858885375"; // BewoTrio
|
2022-02-08 09:51:16 +01:00
|
|
|
|
//t = "9734214365"; // Wegfinder Rhein-Ruhr
|
2022-02-15 14:59:07 +01:00
|
|
|
|
//t = "1011478760"; // Autismus Köln/Bonn e.V.
|
2023-09-19 10:53:25 +02:00
|
|
|
|
//t = "8184278271"; // Ambulant Betreutes Wohnen Stephan Schillings
|
2025-04-02 17:44:39 +02:00
|
|
|
|
//t = "2576513996"; // TRIAS Ambulante Sozialarbeit Schön + Schön-Uhlmann GbR
|
2022-02-21 17:12:00 +01:00
|
|
|
|
//t = "9518001524"; // Sozialpädagogische Praxis Astrid Schnödewind
|
2022-02-24 09:20:16 +01:00
|
|
|
|
//t = "1048483934"; // Frauenhaus e.V. EWFRA - Wohnprojekt für Frauen
|
2022-03-04 06:58:21 +01:00
|
|
|
|
//t = "4293131072"; // ASB Rhein-Erft/Düren e.V. Schulbegleitung
|
2024-03-20 17:24:11 +01:00
|
|
|
|
//t = "2221228727"; // Autismus Leben gGmbH
|
2022-04-26 10:00:34 +02:00
|
|
|
|
//t = "5065709552"; // Biotop e.V.
|
2022-07-05 09:09:33 +02:00
|
|
|
|
//t = "9094672461"; // Transkulturelles Betreuungsbüro (Toprak GmbH)
|
2022-05-13 11:46:39 +02:00
|
|
|
|
//t = "9008813932"; // Aids Hilfe Giessen
|
2024-04-15 16:33:04 +02:00
|
|
|
|
//t = "4052216789"; // Perspektiven e.V.
|
2023-10-28 13:34:32 +02:00
|
|
|
|
//t = "7663765314"; // Christina Frommen (Frommen BeWo)
|
2022-07-08 13:46:56 +02:00
|
|
|
|
//t = "5462295916"; // BeWo Dellbrueck
|
2023-04-04 19:30:03 +02:00
|
|
|
|
//t = "2120989920"; // Sozialbüro Schüßler und Wilckens GbR
|
2023-03-28 00:02:15 +02:00
|
|
|
|
//t = "9815376800"; // Haus Dülken GmbH + Co. KG
|
2023-06-28 17:38:14 +02:00
|
|
|
|
//t = "6917917884"; // AMBEWO Müller/Gerhards
|
2023-02-10 16:18:18 +01:00
|
|
|
|
//t = "5240630948"; // Caritasverband der Diözese Rottenburg-Stuttgart e.V. - Rechtsträger der Caritas Heilbronn Hohenlohe e.V. (Projekt heißt CaritasHeilbronnHohenlohe)
|
2023-02-15 20:13:03 +01:00
|
|
|
|
//t = "7748694330"; // Caritasverband der Diözese Rottenburg-Stuttgart e.V. als Rechtsträger der Caritas Ludwigsburg-Waiblingen-Enz (Projekt heißt CaritasLudwigsburgWaiblingenEnz)
|
2023-06-22 11:20:01 +02:00
|
|
|
|
//t = "5578206856"; // SHK Service GmbH
|
2022-11-09 16:03:11 +01:00
|
|
|
|
//t = "1508800817"; // Behindert na und e.V.
|
2023-07-05 17:20:24 +02:00
|
|
|
|
//t = "4351087063"; // MOBILE e.V. - Selbstbestimmtes Leben
|
2022-12-15 23:34:20 +01:00
|
|
|
|
//t = "1262219859"; // Psychosoziale Projekte Saarpfalz
|
2023-01-05 13:56:27 +01:00
|
|
|
|
//t = "2986016022"; // Ev Verein für Wohnraumhilfe Frankfurt a.M.
|
2023-06-30 08:53:05 +02:00
|
|
|
|
//t = "2181497347"; // BetreuungsserviceFuerAlltagUndWohnen (BAW Aachen)
|
2023-02-03 10:07:32 +01:00
|
|
|
|
//t = "5433105975"; // aha e.V.
|
2024-11-12 18:37:23 +01:00
|
|
|
|
//t = "7396826106"; // SKF Sozialdienst katholischer Frauen e.V. Leverkusen
|
2023-02-13 11:16:41 +01:00
|
|
|
|
//t = "4748304562"; // BeWo Darmstadt
|
2023-02-10 16:18:18 +01:00
|
|
|
|
//t = "5315865694"; // Wismarer Werkstätten GmbH
|
2023-02-28 12:29:16 +01:00
|
|
|
|
//t = "6971328056"; // SKM Krefeld
|
2023-04-28 15:28:31 +02:00
|
|
|
|
//t = "4199238586"; // MeZ Menden;
|
2023-04-28 15:32:28 +02:00
|
|
|
|
//t = "3226307161"; // Roman Roger Puth
|
2025-04-23 00:26:10 +02:00
|
|
|
|
t = "3522103738"; // AWO Münsterland-Recklinghausen
|
2023-05-23 16:46:56 +02:00
|
|
|
|
//t = "5592509446"; // Kontakt Verein für psychosoziale Hilfen e.V
|
2025-03-16 20:42:21 +01:00
|
|
|
|
//t = "5344902949"; // SHK Service GmbH SBD
|
2023-06-20 00:33:56 +02:00
|
|
|
|
//t = "1422963536"; // Malteser-Johanniter-Johanneshaus gGmbH
|
2023-06-28 17:38:14 +02:00
|
|
|
|
//t = "5433105975"; // aha e.V.
|
2023-07-07 15:08:30 +02:00
|
|
|
|
//t = "1701920223"; // SKFM Monheim
|
2023-06-19 14:09:31 +02:00
|
|
|
|
//t = "5484692276"; // SPEKTRUM GmbH
|
2023-07-06 11:23:36 +02:00
|
|
|
|
//t = "4434019324"; // FENIX Soziale Dienste
|
|
|
|
|
|
//t = "6219220038"; // SKM Kreis Viersen e.V.
|
2023-07-12 10:37:55 +02:00
|
|
|
|
//t = "1372050368"; // Petra Wagner Matthes
|
2023-11-15 00:52:39 +01:00
|
|
|
|
//t = "1253359817"; // Lebenshilfe Bad Kreuznach e.V.
|
2024-01-23 12:13:32 +01:00
|
|
|
|
//t = "9696466498"; // Lebenshilfe Bad Kreuznach (Wohnstätte)
|
2023-08-17 10:04:06 +02:00
|
|
|
|
//t = "6038574522"; // I-Wohl
|
|
|
|
|
|
//t = "2438529184"; // Alloheim Seniorenresidenzen SE
|
2023-08-17 10:04:39 +02:00
|
|
|
|
//t = "7564067748"; // SKM Aachen
|
2023-08-22 12:26:12 +02:00
|
|
|
|
//t = "3892746107"; // Die Lebenslotsen
|
2023-08-28 18:49:25 +02:00
|
|
|
|
//t = "6320805883"; // SELF GbR
|
2023-09-22 13:09:28 +02:00
|
|
|
|
//t = "5205940740"; // Team GS
|
2023-11-01 16:13:46 +01:00
|
|
|
|
//t = "7725063510"; // BZH Essen
|
|
|
|
|
|
//t = "1062385308"; // Aidshilfe Fulda
|
|
|
|
|
|
//t = "3208082132"; // Klinikum Werra-Meißner GmbH
|
2023-11-14 15:28:53 +01:00
|
|
|
|
//t = "7164646882"; // Diakonisches Werk im Ev. Kirchenkreis Dinslaken - Ambulant Begleitetes Wohnen
|
2025-02-26 00:24:17 +01:00
|
|
|
|
//t = "1143768898"; // Diakonisches Werk im Ev. Kirchenkreis Dinslaken - Soziotherapie
|
2023-11-14 15:28:53 +01:00
|
|
|
|
//t = "8164797250"; // Diakonisches Werk im Ev. Kirchenkreis Dinslaken - Ambulante Jugendhilfe JUDI
|
2023-11-21 10:24:07 +01:00
|
|
|
|
//t = "4431610343"; // B-B-C-Terwort GmbH
|
2023-11-29 22:54:58 +01:00
|
|
|
|
//t = "2235342307"; // Suchtkrankenhilfe Ostfriesland
|
2023-12-06 18:14:34 +01:00
|
|
|
|
//t = "1733934665"; // Auf eigenen Füßen stehen (Birgit Apel de Santos & Stefan Haefs)
|
2024-01-03 12:18:26 +01:00
|
|
|
|
//t = "9814444882"; // PSM gGmbH (Paritätische Sozialdienste in Meerbusch)
|
2024-01-23 12:13:32 +01:00
|
|
|
|
//t = "2839619357"; // SKFM Düsseldorf
|
2024-02-20 14:42:04 +01:00
|
|
|
|
//t = "3936475760"; // PROgynmnasium Bensberg e.V. (PRO Train - Betreutes Wohnen)
|
2024-01-26 14:52:55 +01:00
|
|
|
|
//t = "2804185856"; // BEWO Pyramide GmbH (früher HSH Cologne / IFH Cologne)
|
2024-02-19 14:15:43 +01:00
|
|
|
|
//t = "2661610871"; // Spitalstiftung Konstanz
|
2024-03-03 19:07:45 +01:00
|
|
|
|
//t = "8641002030"; // PHÖNIX BeWo GbR
|
2024-03-20 16:41:05 +01:00
|
|
|
|
//t = "3367947706"; // PaS - Praxis für angewandte Sozialarbeit (Ambulant betreutes Wohnen)
|
2024-04-03 11:19:13 +02:00
|
|
|
|
//t = "5025834239"; // AS Soziale Dienstleistungen e.V.
|
|
|
|
|
|
//t = "5315865694"; // Wismarer Werkstätten
|
|
|
|
|
|
//t = "7113513872"; // Verein für Beratung und Therapie - LOK
|
2024-04-15 16:33:04 +02:00
|
|
|
|
//t = "1676990640"; // Perspektive - Selbständiges Leben
|
2025-04-15 00:51:19 +02:00
|
|
|
|
//t = "2544632712"; // Wabe gGmbHs
|
2024-07-24 16:45:56 +02:00
|
|
|
|
//t = "7077286353"; // PariSozial
|
2024-07-25 20:16:14 +02:00
|
|
|
|
//t = "8735029937"; // Caritas Ostvest
|
2024-08-07 16:26:43 +02:00
|
|
|
|
//t = "7653029063"; // SkF Leverkusen JuHi
|
2024-08-21 09:32:27 +02:00
|
|
|
|
//t = "1453324901"; // Akkurat
|
2024-12-19 19:54:57 +01:00
|
|
|
|
//t = "5000000000"; // Test-DB
|
2024-12-04 14:00:33 +01:00
|
|
|
|
//t = "5564670353"; // Mittelpunkt GbR
|
2024-09-06 00:43:52 +02:00
|
|
|
|
//t = "3788859817"; // Zukunft Leben (Stephan Hekermann)
|
|
|
|
|
|
//t = "2663321234"; // Aachener Laienhelfer Initiative e.V.
|
2024-09-24 07:02:07 +02:00
|
|
|
|
//t = "6290975576"; // Caritasverband Kelheim
|
|
|
|
|
|
//t = "5564670353"; // Mittelpunkt
|
2024-09-30 16:33:24 +02:00
|
|
|
|
//t = "1378705749"; // Ifz Internationals Familienzentrum
|
|
|
|
|
|
//t = "7906907131"; // Oase e.V.
|
|
|
|
|
|
//t = "3859349026"; // Lyvie Kupfer
|
2024-10-02 09:33:10 +02:00
|
|
|
|
//t = "9520730180"; // Arbeitskreis Jugend- und Drogenberatung Waf
|
|
|
|
|
|
//t = "8365918329"; // Lebenshilfe Stade e.V. Schulbegleitender Dienst
|
|
|
|
|
|
//t = "6203102637"; // BeWo Neuss-Lauth u. Lauth GbR
|
2024-10-25 01:07:02 +02:00
|
|
|
|
//t = "7060431533"; // Arche Tecklenburg e.V.
|
2024-12-19 19:54:57 +01:00
|
|
|
|
//t = "1159580198"; // Wendepunkt Velbert gGmbH
|
2025-02-26 00:24:17 +01:00
|
|
|
|
//t = "5094575560"; // Christopherus Haus MID
|
2025-01-21 18:38:30 +01:00
|
|
|
|
//t = "5261046426"; // SelbstWerk EN / Bettina Heckrodt
|
2025-04-23 00:26:10 +02:00
|
|
|
|
//t = "6652893693"; // Claudia Heizmann
|
2024-01-03 12:18:26 +01:00
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
|
return t;
|
|
|
|
|
|
#else
|
2019-08-29 15:43:23 +02:00
|
|
|
|
if (MultitenancyOperationContextExt.Current != null)
|
2016-06-27 01:45:38 +02:00
|
|
|
|
return MultitenancyOperationContextExt.Current.Tenant;
|
|
|
|
|
|
|
|
|
|
|
|
return SessionFacade.Tenant;
|
|
|
|
|
|
#endif
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-09-24 07:02:07 +02:00
|
|
|
|
|
2023-09-25 19:03:08 +02:00
|
|
|
|
|
2023-06-07 17:38:11 +02:00
|
|
|
|
public static String CustomerPluginPath()
|
2016-06-27 01:45:38 +02:00
|
|
|
|
{
|
2023-09-25 19:03:08 +02:00
|
|
|
|
var pluginPath = ConfigurationManager.AppSettings.Get("PluginPath");
|
|
|
|
|
|
|
|
|
|
|
|
var dllName = Tenant + "_Reports.dll";
|
2023-09-04 16:57:20 +02:00
|
|
|
|
|
2023-09-25 19:03:08 +02:00
|
|
|
|
if (!String.IsNullOrEmpty(pluginPath))
|
2023-09-04 16:57:20 +02:00
|
|
|
|
{
|
2023-09-25 19:03:08 +02:00
|
|
|
|
if (pluginPath.StartsWith(".."))
|
|
|
|
|
|
{
|
2023-12-07 14:54:26 +01:00
|
|
|
|
var baseDirectory = AppDomain.CurrentDomain.BaseDirectory;
|
|
|
|
|
|
|
|
|
|
|
|
const string mobileClientDirectory = "BeWoPlanerMobil\\";
|
|
|
|
|
|
|
|
|
|
|
|
if(baseDirectory.EndsWith(mobileClientDirectory))
|
|
|
|
|
|
{
|
|
|
|
|
|
//pluginPath = pluginPath.Substring(3);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pluginPath = Path.Combine(baseDirectory, pluginPath);
|
2023-09-25 19:03:08 +02:00
|
|
|
|
}
|
2021-02-21 19:01:51 +01:00
|
|
|
|
}
|
2023-09-25 19:03:08 +02:00
|
|
|
|
else
|
|
|
|
|
|
{
|
2016-06-27 01:45:38 +02:00
|
|
|
|
#if DEBUG
|
2023-09-25 19:03:08 +02:00
|
|
|
|
pluginPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin");
|
2016-06-27 01:45:38 +02:00
|
|
|
|
#else
|
2023-09-25 19:03:08 +02:00
|
|
|
|
pluginPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Customer");
|
2016-06-27 01:45:38 +02:00
|
|
|
|
#endif
|
2023-09-25 19:03:08 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
2023-12-07 14:54:26 +01:00
|
|
|
|
var directoryExists = File.Exists(Path.Combine(pluginPath, dllName));
|
2023-09-25 19:03:08 +02:00
|
|
|
|
|
|
|
|
|
|
return Path.Combine(pluginPath, dllName);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private static void CheckAndUpdateCustomerAssembly()
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
var customerdll = CustomerPluginPath();
|
|
|
|
|
|
var dllName = Path.GetFileName(customerdll);
|
|
|
|
|
|
var pluginBasePath = ConfigurationManager.AppSettings.Get("PluginBasePath");
|
|
|
|
|
|
if (!String.IsNullOrEmpty(pluginBasePath))
|
|
|
|
|
|
{
|
|
|
|
|
|
if (pluginBasePath.StartsWith(".."))
|
|
|
|
|
|
{
|
|
|
|
|
|
pluginBasePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, pluginBasePath);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-09-27 17:52:23 +02:00
|
|
|
|
else
|
|
|
|
|
|
{
|
|
|
|
|
|
#if DEBUG
|
|
|
|
|
|
pluginBasePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin");
|
|
|
|
|
|
#else
|
|
|
|
|
|
pluginBasePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Customer");
|
|
|
|
|
|
#endif
|
|
|
|
|
|
}
|
2023-09-25 19:03:08 +02:00
|
|
|
|
bool aktualisiereAssembly = false;
|
|
|
|
|
|
|
|
|
|
|
|
if (!String.IsNullOrEmpty(pluginBasePath))
|
|
|
|
|
|
{
|
|
|
|
|
|
//Prüfe, ob eine neuere Version der dll im Base Path existiert
|
|
|
|
|
|
var baseDll = Path.Combine(pluginBasePath, dllName);
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
2023-09-27 17:52:23 +02:00
|
|
|
|
String msg = "";
|
|
|
|
|
|
|
2023-09-25 19:03:08 +02:00
|
|
|
|
try
|
|
|
|
|
|
{
|
|
|
|
|
|
if (File.Exists(baseDll))
|
|
|
|
|
|
{
|
2023-09-27 17:52:23 +02:00
|
|
|
|
msg = "1. Found " + baseDll;
|
2023-09-25 19:03:08 +02:00
|
|
|
|
if (!File.Exists(customerdll))
|
|
|
|
|
|
{
|
2023-09-27 17:52:23 +02:00
|
|
|
|
msg += "\n2. Customerdll nicht gefunden";
|
2023-09-25 19:03:08 +02:00
|
|
|
|
aktualisiereAssembly = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
else
|
|
|
|
|
|
{
|
2023-09-27 17:52:23 +02:00
|
|
|
|
msg += "\n2. Customerdll gefunden";
|
2023-09-25 19:03:08 +02:00
|
|
|
|
if (File.GetLastWriteTime(baseDll) > File.GetLastWriteTime(customerdll))
|
2023-09-27 17:52:23 +02:00
|
|
|
|
{
|
2023-09-25 19:03:08 +02:00
|
|
|
|
aktualisiereAssembly = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
else if (File.GetLastWriteTime(baseDll) == File.GetLastWriteTime(customerdll))
|
|
|
|
|
|
{
|
|
|
|
|
|
var fibase = new FileInfo(baseDll);
|
|
|
|
|
|
var fiwork = new FileInfo(customerdll);
|
|
|
|
|
|
if (fibase.Length != fiwork.Length)
|
|
|
|
|
|
{
|
|
|
|
|
|
aktualisiereAssembly = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
2023-09-25 19:03:08 +02:00
|
|
|
|
if (aktualisiereAssembly)
|
|
|
|
|
|
{
|
|
|
|
|
|
try
|
|
|
|
|
|
{
|
2023-09-27 17:52:23 +02:00
|
|
|
|
msg += "\n3. Kopiere Customerdll";
|
2023-09-25 19:03:08 +02:00
|
|
|
|
Monitor.Enter(_Lock);
|
|
|
|
|
|
|
|
|
|
|
|
File.Copy(baseDll, customerdll, true);
|
|
|
|
|
|
}
|
|
|
|
|
|
catch
|
|
|
|
|
|
{
|
2023-09-27 17:52:23 +02:00
|
|
|
|
//do nothing
|
2023-09-25 19:03:08 +02:00
|
|
|
|
}
|
|
|
|
|
|
finally
|
|
|
|
|
|
{
|
|
|
|
|
|
Monitor.Exit(_Lock);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-09-27 17:52:23 +02:00
|
|
|
|
|
|
|
|
|
|
if (aktualisiereAssembly)
|
|
|
|
|
|
{
|
|
|
|
|
|
msg += "\n4. aktualisiereAssembly = true";
|
|
|
|
|
|
}
|
|
|
|
|
|
var a = GetAssembliyForDll(dllName);
|
|
|
|
|
|
if (a == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
msg += "\n5. Assembly wurde noch nicht geladen";
|
|
|
|
|
|
}
|
2023-09-25 19:03:08 +02:00
|
|
|
|
if (aktualisiereAssembly || GetAssembliyForDll(dllName) == null)
|
|
|
|
|
|
{
|
2023-09-27 17:52:23 +02:00
|
|
|
|
|
|
|
|
|
|
msg += "\n6. Lade Assembly und erstelle ErrorMessage. Assembly Count = " + AppDomain.CurrentDomain.GetAssemblies().Length;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-09-25 19:03:08 +02:00
|
|
|
|
Assembly.Load(File.ReadAllBytes(customerdll));
|
2023-09-27 17:52:23 +02:00
|
|
|
|
|
|
|
|
|
|
var a2 = GetAssembliyForDll(dllName);
|
|
|
|
|
|
if (a2 == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
msg += "\n7. Assembly wurde immer noch nicht geladen!!!!!! Assembly Count = " + AppDomain.CurrentDomain.GetAssemblies().Length;
|
|
|
|
|
|
msg += "\n8 . Letzte Assembly: " + AppDomain.CurrentDomain.GetAssemblies()[AppDomain.CurrentDomain.GetAssemblies().Length - 1].FullName;
|
|
|
|
|
|
}
|
|
|
|
|
|
else
|
|
|
|
|
|
{
|
|
|
|
|
|
msg += "\n7. Assembly wurde erfolgreich geladen!!!!!! Assembly Count = " + AppDomain.CurrentDomain.GetAssemblies().Length;
|
|
|
|
|
|
}
|
2023-09-25 19:03:08 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2023-09-27 17:52:23 +02:00
|
|
|
|
catch (Exception e)
|
2023-09-25 19:03:08 +02:00
|
|
|
|
{
|
|
|
|
|
|
//do nothing
|
2023-09-27 17:52:23 +02:00
|
|
|
|
msg += "\n8. Error: " + e.Message + "\n" + e.StackTrace;
|
|
|
|
|
|
}
|
|
|
|
|
|
finally
|
|
|
|
|
|
{
|
|
|
|
|
|
//var emsg = new Data.Entities.ErrorMessage();
|
|
|
|
|
|
//emsg.Message = msg;
|
|
|
|
|
|
//emsg.Datum = DateTime.Now;
|
|
|
|
|
|
|
|
|
|
|
|
//Data.Access.DAOFactory.GenericDAO.Insert(emsg);
|
|
|
|
|
|
|
2023-09-25 19:03:08 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static T FindClass<T>() where T : new()
|
2016-06-27 01:45:38 +02:00
|
|
|
|
{
|
|
|
|
|
|
var t = FindClass<T>(null, null);
|
|
|
|
|
|
if (t == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
t = new T();
|
|
|
|
|
|
}
|
|
|
|
|
|
return t;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static T FindClass<T>(string specificId)
|
|
|
|
|
|
{
|
|
|
|
|
|
return FindClass<T>(specificId, null);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static T FindClass<T>(string specificId, string typename)
|
|
|
|
|
|
{
|
|
|
|
|
|
Type[] lAllTypes = null;
|
|
|
|
|
|
|
2020-08-31 17:44:05 +02:00
|
|
|
|
var type = typeof(T);
|
|
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
|
if (Tenant != null)
|
|
|
|
|
|
{
|
2023-09-25 19:03:08 +02:00
|
|
|
|
lAllTypes = PluginLoader.GetAllCustomerTypes();
|
|
|
|
|
|
}
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
|
|
|
|
|
T result = default(T);
|
|
|
|
|
|
if (lAllTypes != null)
|
|
|
|
|
|
result = FindClass<T>(lAllTypes, specificId, typename);
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-09-25 19:03:08 +02:00
|
|
|
|
public static Type[] GetAllCustomerTypes()
|
|
|
|
|
|
{
|
|
|
|
|
|
var path = CustomerPluginPath();
|
|
|
|
|
|
var dllName = Path.GetFileName(path);
|
|
|
|
|
|
CheckAndUpdateCustomerAssembly();
|
|
|
|
|
|
|
|
|
|
|
|
var a = GetAssembliyForDll(dllName);
|
|
|
|
|
|
|
|
|
|
|
|
if (a != null)
|
|
|
|
|
|
{
|
|
|
|
|
|
return a.GetTypes();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private static Assembly GetAssembliyForDll(String dllName)
|
|
|
|
|
|
{
|
|
|
|
|
|
var assemblies = AppDomain.CurrentDomain.GetAssemblies();
|
|
|
|
|
|
|
|
|
|
|
|
for (int i = assemblies.Length - 1; i >= 0; i--)
|
|
|
|
|
|
{
|
|
|
|
|
|
var a = assemblies[i];
|
|
|
|
|
|
|
|
|
|
|
|
if (a.FullName.StartsWith(dllName.Replace(".dll", "")))
|
|
|
|
|
|
{
|
|
|
|
|
|
return a;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static T FindClass<T>(Type[] lAllTypes, string specificId, string typename)
|
2016-06-27 01:45:38 +02:00
|
|
|
|
{
|
|
|
|
|
|
T result = default(T);
|
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(specificId) && !string.IsNullOrEmpty(typename))
|
|
|
|
|
|
{
|
|
|
|
|
|
var cbSpecific = lAllTypes
|
|
|
|
|
|
.Where(i => typeof(T).IsAssignableFrom(i))
|
|
|
|
|
|
.FirstOrDefault(t => t.GetCustomAttributes(typeof(IDSpecificClassAttribute), true)
|
|
|
|
|
|
.ToList()
|
|
|
|
|
|
.Exists(i =>
|
|
|
|
|
|
{
|
|
|
|
|
|
var attr = (IDSpecificClassAttribute)i;
|
|
|
|
|
|
if (attr.Identifiers != null)
|
|
|
|
|
|
return attr.Identifiers.Contains(specificId);
|
|
|
|
|
|
if (!String.IsNullOrEmpty(attr.Identifier))
|
|
|
|
|
|
return attr.Identifier.Equals(specificId);
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
) && t.FullName == typename);
|
|
|
|
|
|
if (cbSpecific != null)
|
|
|
|
|
|
result = (T)Activator.CreateInstance(cbSpecific);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(typename))
|
|
|
|
|
|
{
|
|
|
|
|
|
var cbSpecific = lAllTypes.FirstOrDefault(t => t.FullName == typename);
|
|
|
|
|
|
if (cbSpecific != null)
|
|
|
|
|
|
result = (T)Activator.CreateInstance(cbSpecific);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(specificId))
|
|
|
|
|
|
{
|
|
|
|
|
|
var cbSpecific = lAllTypes
|
|
|
|
|
|
.Where(i => typeof(T).IsAssignableFrom(i))
|
|
|
|
|
|
.FirstOrDefault(t => t.GetCustomAttributes(typeof(IDSpecificClassAttribute), true)
|
|
|
|
|
|
.ToList()
|
|
|
|
|
|
.Exists(i =>
|
|
|
|
|
|
{
|
|
|
|
|
|
var attr = (IDSpecificClassAttribute)i;
|
|
|
|
|
|
if (attr.Identifiers != null)
|
|
|
|
|
|
return attr.Identifiers.Contains(specificId);
|
|
|
|
|
|
if (!String.IsNullOrEmpty(attr.Identifier))
|
|
|
|
|
|
return attr.Identifier.Equals(specificId);
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
));
|
|
|
|
|
|
if (cbSpecific != null)
|
|
|
|
|
|
result = (T)Activator.CreateInstance(cbSpecific);
|
|
|
|
|
|
|
|
|
|
|
|
if (result == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
foreach (var iType in lAllTypes)
|
|
|
|
|
|
if (typeof(T).IsAssignableFrom(iType))
|
|
|
|
|
|
if (iType.Name == specificId)
|
|
|
|
|
|
result = (T)Activator.CreateInstance(iType);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2017-06-08 14:56:01 +02:00
|
|
|
|
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
2017-06-08 14:56:01 +02:00
|
|
|
|
if (result == null)
|
|
|
|
|
|
{
|
|
|
|
|
|
var list2 = lAllTypes.Where(t => typeof (T).IsAssignableFrom(t)).ToList();
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
2017-06-08 14:56:01 +02:00
|
|
|
|
var list = list2.Where(t => t.GetCustomAttributes(typeof (IgnoreAutoPluginAttribute), true).Length == 0).ToList();
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
2017-02-01 13:53:59 +01:00
|
|
|
|
if (list.Count == 1)
|
2017-06-08 14:56:01 +02:00
|
|
|
|
result = (T)Activator.CreateInstance(list[0]);
|
|
|
|
|
|
else if (list.Count > 1)
|
|
|
|
|
|
{
|
|
|
|
|
|
foreach (var type in list)
|
|
|
|
|
|
{
|
|
|
|
|
|
var attrs = type.GetCustomAttributes(typeof(IDSpecificClassAttribute), true);
|
|
|
|
|
|
if (attrs.Length == 0)
|
|
|
|
|
|
return (T)Activator.CreateInstance(type);
|
|
|
|
|
|
}
|
2016-06-27 01:45:38 +02:00
|
|
|
|
|
2017-06-08 14:56:01 +02:00
|
|
|
|
result = (T)Activator.CreateInstance(list[0]);
|
|
|
|
|
|
}
|
2017-02-01 13:53:59 +01:00
|
|
|
|
|
2017-06-08 14:56:01 +02:00
|
|
|
|
}
|
2017-02-01 13:53:59 +01:00
|
|
|
|
|
2017-06-08 14:56:01 +02:00
|
|
|
|
return result;
|
2016-06-27 01:45:38 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|