I hereby claim:
- I am bentayloruk on github.
- I am bentayloruk (https://keybase.io/bentayloruk) on keybase.
- I have a public key whose fingerprint is 7373 887D 9B5F B35E DA6E BA7E 8CC9 2FEA 809C C2B8
To claim this, I am signing this object:
namespace Peelio.ZonePlayer.ZoneGroupTopology | |
open System | |
open System.Linq | |
open System.Xml.Linq | |
open Peelio | |
/// Union types for those state vars with a set of allowed values. | |
type A_ARG_TYPE_UpdateType = | All | Software | |
with |
I hereby claim:
To claim this, I am signing this object:
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
using System; | |
using System.Collections.Generic; | |
using System.Collections.Immutable; | |
using System.Linq; | |
namespace TDDCoverage | |
{ | |
public class Order | |
{ |
//install-package Autofac. | |
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Linq; | |
using Autofac; | |
namespace Funcofac | |
{ | |
class Program |
module IssueInvestiations | |
open Xunit | |
open Enticify.Promotions | |
[<Fact>] | |
let ``Issue 261 - item and shipping discount interaction`` () = | |
let (basket, orderForm) = | |
createBasket |
(* | |
Reset Pathogen Bundles from Github and Vim.org | |
__IMPORTANT__ | |
* THIS SCRIPT WILL DELETE ALL BUNDLES IN YOUR PATHOGEN BUNDLE FOLDER. | |
* THIS SCRIPT MAY BE X-PLAT BUT I'VE NOT TESTED IT, SO I DOUBT IT IS. | |
* THERE IS NOT MUCH IN THE WAY OF ERROR RECOVER IN THIS SCRIPT. | |
__Installation__ | |
1. Install Pathogen https://github.com/tpope/vim-pathogen |
[CompilationMapping(SourceConstructFlags.RecordType)] | |
[Serializable] | |
public sealed class Person : IEquatable<Program.Person>, IStructuralEquatable, IComparable<Program.Person>, IComparable, IStructuralComparable | |
{ | |
[DebuggerBrowsable(DebuggerBrowsableState.Never)] | |
internal string Name@; | |
[DebuggerBrowsable(DebuggerBrowsableState.Never)] | |
internal string Surname@; | |
[CompilationMapping(SourceConstructFlags.Field, 0)] | |
public string Name |
EnvironmentHelper.fs | |
let isUnix = System.Environment.OSVersion.Platform = System.PlatformID.Unix | |
let platformInfoAction (psi:ProcessStartInfo) = | |
if isUnix && psi.FileName.EndsWith ".exe" then | |
psi.Arguments <- psi.FileName + " " + psi.Arguments | |
psi.FileName <- "mono" | |
ProcessHelper.fs |
public class ProductDisplayWithPromoInfo | |
{ | |
public ProductDisplayDto CreateProductDisplayDto(Product product) | |
{ | |
//Get the PromoShoutOutService | |
var shoutOutService = PromotionContext.Current().CreatePromoShoutOutService(); | |
//Get the explicitly configured shouts outs for the product (the ones with ShoutOut in the CS discount comment field) | |
var productPromoShoutOuts = shoutOutService.GetPromoShoutOutsForProduct(product, ShoutOutSelection.ExplicitlyConfiguredForShoutOut); |
using Microsoft.CommerceServer.Catalog; | |
using Microsoft.CommerceServer.Runtime.Profiles; | |
namespace Enticify.CommerceServer.Tests.Scenarios | |
{ | |
public class PromoInfoSourceApi | |
{ | |
public void GetPromoInfoForProductAndDoSomething(Product csProduct, Profile csUserProfile) | |
{ | |
var promotionQueryService = new PromotionQueryService(); |