Beispiel #1
0
 private void ResolveDependencies()
 {
     m_PassThroughRewards = CurrentRequest.Resolver.Resolve <CMS.AMS.Contract.IPassThroughRewards>();
     m_Offer         = CurrentRequest.Resolver.Resolve <CMS.AMS.Contract.IOffer>();
     m_SVProgram     = CurrentRequest.Resolver.Resolve <CMS.AMS.Contract.IStoredValueProgramService>();
     m_PointsProgram = CurrentRequest.Resolver.Resolve <CMS.AMS.Contract.IPointsProgramService>();
     m_OAWService    = CurrentRequest.Resolver.Resolve <IOfferApprovalWorkflowService>();
 }
Beispiel #2
0
    private void ResolveDepedencies()
    {
        m_PointsCondition = CurrentRequest.Resolver.Resolve <CMS.AMS.Contract.IPointsCondition>();
        m_Offer           = CurrentRequest.Resolver.Resolve <CMS.AMS.Contract.IOffer>();

        m_PointProgram = CurrentRequest.Resolver.Resolve <IPointsProgramService>();
        m_dbAccess     = CMS.AMS.CurrentRequest.Resolver.Resolve <IDBAccess>();
        m_OAWService   = CurrentRequest.Resolver.Resolve <IOfferApprovalWorkflowService>();
    }