| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using CG67.FicheCollege.Domaine;
- using CG67.FicheCollege.Interface;
- namespace CG67.FicheCollege.Entrepot
- {
- public static class EntrepotFactory
- {
- private static IEntrepotActionEducative entrepotActionEducative;
- public static IEntrepotActionEducative GetEntrepotActionEducative()
- {
- if (entrepotActionEducative == null)
- entrepotActionEducative = new EntrepotActionEducative();
- return entrepotActionEducative;
- }
- private static IEntrepotClasseDecouverte entrepotClasseDecouverte;
- public static IEntrepotClasseDecouverte GetEntrepotClasseDecouverte()
- {
- if (entrepotClasseDecouverte == null)
- entrepotClasseDecouverte = new EntrepotClasseDecouverte();
- return entrepotClasseDecouverte;
- }
- private static IEntrepotATC entrepotATC;
- public static IEntrepotATC GetEntrepotATC()
- {
- if (entrepotATC == null)
- entrepotATC = new EntrepotATC();
- return entrepotATC;
- }
- private static IEntrepotContratAide entrepotContratAide;
- public static IEntrepotContratAide GetEntrepotContratAide()
- {
- if (entrepotContratAide == null)
- entrepotContratAide = new EntrepotContratAide();
- return entrepotContratAide;
- }
- private static IEntrepotBilinguisme entrepotBilinguisme;
- public static IEntrepotBilinguisme GetEntrepotBilinguisme()
- {
- if (entrepotBilinguisme == null)
- entrepotBilinguisme = new EntrepotBilinguisme();
- return entrepotBilinguisme;
- }
- private static IEntrepotDotation entrepotDotation;
- public static IEntrepotDotation GetEntrepotDotation()
- {
- if (entrepotDotation == null)
- entrepotDotation = new EntrepotDotation();
- return entrepotDotation;
- }
- private static IEntrepotInvestissementDCE entrepotEquipement;
- public static IEntrepotInvestissementDCE GetEntrepotEquipement()
- {
- if (entrepotEquipement == null)
- entrepotEquipement = new EntrepotInvestissementDCE();
- return entrepotEquipement;
- }
- private static IEntrepotInvestissement entrepotInvestissement;
- public static IEntrepotInvestissement GetEntrepotInvestissement()
- {
- if (entrepotInvestissement == null)
- entrepotInvestissement = new EntrepotInvestissement();
- return entrepotInvestissement;
- }
- private static IEntrepotEffectifDetail entrepotEffectifDetail;
- public static IEntrepotEffectifDetail GetEntrepotEffectifDetail()
- {
- if (entrepotEffectifDetail == null)
- entrepotEffectifDetail = new EntrepotEffectifDetail();
- return entrepotEffectifDetail;
- }
- private static IEntrepotLogement entrepotLogement;
- public static IEntrepotLogement GetEntrepotLogement()
- {
- if (entrepotLogement == null)
- entrepotLogement = new EntrepotLogement();
- return entrepotLogement;
- }
- private static IEntrepotMCG entrepotMCG;
- public static IEntrepotMCG GetEntrepotMCG()
- {
- if (entrepotMCG == null)
- entrepotMCG = new EntrepotMCG();
- return entrepotMCG;
- }
- private static IEntrepotProjetPilote entrepotProjetPilote;
- public static IEntrepotProjetPilote GetEntrepotProjetPilote()
- {
- if (entrepotProjetPilote == null)
- entrepotProjetPilote = new EntrepotProjetPilote();
- return entrepotProjetPilote;
- }
- private static IEntrepotRestaurationExterne entrepotRestaurationExterne;
- public static IEntrepotRestaurationExterne GetEntrepotRestaurationExterne()
- {
- if (entrepotRestaurationExterne == null)
- entrepotRestaurationExterne = new EntrepotRestaurationExterne();
- return entrepotRestaurationExterne;
- }
- private static IEntrepotContact entrepotContact;
- public static IEntrepotContact GetEntrepotContact()
- {
- if (entrepotContact == null)
- entrepotContact = new EntrepotContact();
- return entrepotContact;
- }
- private static IEntrepotChiffresSignificatifs entrepotChiffresSignificatifs;
- public static IEntrepotChiffresSignificatifs GetEntrepotChiffresSignificatifs()
- {
- if (entrepotChiffresSignificatifs == null)
- entrepotChiffresSignificatifs = new EntrepotChiffresSignificatifs();
- return entrepotChiffresSignificatifs;
- }
- private static IEntrepotCommentaires entrepotCommentaires;
- public static IEntrepotCommentaires GetEntrepotCommentaires()
- {
- if (entrepotCommentaires == null)
- entrepotCommentaires = new EntrepotCommentaires();
- return entrepotCommentaires;
- }
- private static IEntrepotRestauration entrepotRestauration;
- public static IEntrepotRestauration GetEntrepotRestauration()
- {
- if (entrepotRestauration == null)
- entrepotRestauration = new EntrepotRestauration();
- return entrepotRestauration;
- }
- private static IEntrepotProgTravaux entrepotProgTravaux;
- public static IEntrepotProgTravaux GetEntrepotProgTravaux()
- {
- if (entrepotProgTravaux == null)
- entrepotProgTravaux = new EntrepotProgTravaux();
- return entrepotProgTravaux;
- }
-
- private static IEntrepotEtablissement entrepotEtablissement;
- public static IEntrepotEtablissement GetEntrepotEtablissement()
- {
- if (entrepotEtablissement == null)
- entrepotEtablissement = new EntrepotEtablissement();
- return entrepotEtablissement;
- }
- }
- }
|