public static MSBuildExtensionPack.WcfContracts.ISolutionServiceAsyn ResolveWcfServiceSolution()
 {
     Framework.CommonBLLEntities.IBusinessLogicLayerContextContainer  _IBusinessLogicLayerContextContainer = Framework.IoCContainerWrapperSingleton.Instance.IoCContainer.Resolve <Framework.CommonBLLEntities.IBusinessLogicLayerContextContainer>();
     Framework.CommonBLLEntities.BusinessLogicLayerContext            _BusinessLogicLayerContext           = _IBusinessLogicLayerContextContainer.BusinessLogicLayerContext;
     MSBuildExtensionPack.WcfContracts.IBusinessLogicLayerFactoryAsyn _IBusinessLogicLayerFactory          = Framework.IoCContainerWrapperSingleton.Instance.IoCContainer.Resolve <MSBuildExtensionPack.WcfContracts.IBusinessLogicLayerFactoryAsyn>();
     MSBuildExtensionPack.WcfContracts.ISolutionServiceAsyn           _BusinessLogicLayerInstance          = _IBusinessLogicLayerFactory.CreateBLLInstanceOfEntitySolution(_BusinessLogicLayerContext);
     return(_BusinessLogicLayerInstance);
 }
Esempio n. 2
0
 public static MSBuildLogsExtended.WcfContracts.IBuildLogService ResolveWcfServiceBuildLog()
 {
     Framework.CommonBLLEntities.IBusinessLogicLayerContextContainer _IBusinessLogicLayerContextContainer = Framework.IoCContainerWrapperSingleton.Instance.IoCContainer.Resolve <Framework.CommonBLLEntities.IBusinessLogicLayerContextContainer>();
     Framework.CommonBLLEntities.BusinessLogicLayerContext           _BusinessLogicLayerContext           = _IBusinessLogicLayerContextContainer.BusinessLogicLayerContext;
     MSBuildLogsExtended.WcfContracts.IBusinessLogicLayerFactory     _IBusinessLogicLayerFactory          = Framework.IoCContainerWrapperSingleton.Instance.IoCContainer.Resolve <MSBuildLogsExtended.WcfContracts.IBusinessLogicLayerFactory>();
     MSBuildLogsExtended.WcfContracts.IBuildLogService _BusinessLogicLayerInstance = _IBusinessLogicLayerFactory.CreateBLLInstanceOfEntityBuildLog(_BusinessLogicLayerContext);
     return(_BusinessLogicLayerInstance);
 }
Esempio n. 3
0
 /// <summary>
 /// Creates the BLL instance of entity <see cref="MSBuildExtensionPack.Solution"/> tables for change notification.
 /// </summary>
 /// <param name="businessLogicLayerContext">The business logic layer context.</param>
 /// <returns>Instance of MSBuildExtensionPack.WcfContracts.ISolutionService</returns>
 public MSBuildExtensionPack.WcfContracts.ISolutionService CreateBLLInstanceOfEntitySolution(Framework.CommonBLLEntities.BusinessLogicLayerContext businessLogicLayerContext)
 {
     return(new MSBuildExtensionPack.WcfClientBLL.WcfClientEntitySolution());
 }
Esempio n. 4
0
        /// <summary>
        /// Creates the BLL instance of entity <see cref="MSBuildExtensionPack.Solution"/> tables for change notification.
        /// </summary>
        /// <param name="businessLogicLayerContext">The business logic layer context.</param>
        /// <returns>Instance of MSBuildExtensionPack.WcfContracts.ISolutionServiceAsyn</returns>
        public MSBuildExtensionPack.WcfContracts.ISolutionServiceAsyn CreateBLLInstanceOfEntitySolution(Framework.CommonBLLEntities.BusinessLogicLayerContext businessLogicLayerContext)
        {
#if NETFX_CORE
// for WinRT/NETFX_CORE release, because no app.config file, initialize WcfClient with Url
            return(new MSBuildExtensionPack.WcfClientBLL.WcfClientEntityAsynSolution(new System.ServiceModel.BasicHttpBinding(), new System.ServiceModel.EndpointAddress(Url_MSBuildExtensionPack_WcfClientBLL_WcfClientEntityAsynSolution)));
#else
            return(new MSBuildExtensionPack.WcfClientBLL.WcfClientEntityAsynSolution());
#endif
        }
 /// <summary>
 /// Creates the BLL instance of entity <see cref="MSBuildExtensionPack.Organization"/> tables for change notification.
 /// </summary>
 /// <param name="businessLogicLayerContext">The business logic layer context.</param>
 /// <returns>Instance of OrganizationService</returns>
 public MSBuildExtensionPack.WcfContracts.IOrganizationService CreateBLLInstanceOfEntityOrganization(Framework.CommonBLLEntities.BusinessLogicLayerContext businessLogicLayerContext)
 {
     return(new OrganizationService(businessLogicLayerContext));
 }
 /// <summary>
 /// Creates the BLL instance of entity <see cref="MSBuildExtensionPack.BuildEventCode"/> tables for change notification.
 /// </summary>
 /// <param name="businessLogicLayerContext">The business logic layer context.</param>
 /// <returns>Instance of BuildEventCodeService</returns>
 public MSBuildExtensionPack.WcfContracts.IBuildEventCodeService CreateBLLInstanceOfEntityBuildEventCode(Framework.CommonBLLEntities.BusinessLogicLayerContext businessLogicLayerContext)
 {
     return(new BuildEventCodeService(businessLogicLayerContext));
 }
 /// <summary>
 /// Creates the BLL instance of entity <see cref="MSBuildLogsExtended.Solution"/> tables for change notification.
 /// </summary>
 /// <param name="businessLogicLayerContext">The business logic layer context.</param>
 /// <returns>Instance of SolutionService</returns>
 public MSBuildLogsExtended.WcfContracts.ISolutionService CreateBLLInstanceOfEntitySolution(Framework.CommonBLLEntities.BusinessLogicLayerContext businessLogicLayerContext)
 {
     return(new SolutionService(businessLogicLayerContext));
 }
Esempio n. 8
0
 /// <summary>
 /// Creates the BLL instance of entity <see cref="MSBuildLogsExtended.BuildLog"/> tables for change notification.
 /// </summary>
 /// <param name="businessLogicLayerContext">The business logic layer context.</param>
 /// <returns>Instance of MSBuildLogsExtended.WcfContracts.IBuildLogService</returns>
 public MSBuildLogsExtended.WcfContracts.IBuildLogService CreateBLLInstanceOfEntityBuildLog(Framework.CommonBLLEntities.BusinessLogicLayerContext businessLogicLayerContext)
 {
     return(new MSBuildLogsExtended.WcfClientBLL.WcfClientEntityBuildLog());
 }