Exemple #1
0
        private static ListingCreatorStepCollection ListingSteps()
        {
            var lcs = new ListingCreatorStepCollection
            {
                { new OurUmbraco.MarketPlace.BusinessLogic.ListingCreator.StepDefinitions.Details(), false },
                { new Files(), false },
                { new Screenshots(), false },
                { new Complete(), false }
            };

            return(lcs);
        }
Exemple #2
0
        private static ListingCreatorStepCollection ListingSteps()
        {
            ListingCreatorStepCollection lcs = new ListingCreatorStepCollection();
            lcs.Add(new Details(), _vendor.Member.IsDeliVendor);
            lcs.Add(new Files(), _vendor.Member.IsDeliVendor);
            lcs.Add(new Screenshots(), _vendor.Member.IsDeliVendor);

            //only add the licensing step is the project is commercial
            if (_project != null)
                lcs.Add(new Licenses(), (_project.ListingType == ListingType.commercial && _vendor.Member.IsDeliVendor));

            lcs.Add(new Complete(), _vendor.Member.IsDeliVendor);
            return lcs;
        }
 private static ListingCreatorStepCollection ListingSteps()
 {
     var lcs = new ListingCreatorStepCollection
     {
         { new OurUmbraco.MarketPlace.BusinessLogic.ListingCreator.StepDefinitions.Details(), false },
         { new Files(), false },
         { new Screenshots(), false },
         { new Complete(), false }
     };
     return lcs;
 }