This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace DevOpsFlex.Analyzers | |
| { | |
| using System.Diagnostics.Contracts; | |
| using System.IO; | |
| using System.Text.RegularExpressions; | |
| /// <summary> | |
| /// Wraps logic around Name, Version and generic regular expression lazy initializations to support | |
| /// the package consolidation analyzer. | |
| /// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace DevOpsFlex.Analyzers | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Collections.Immutable; | |
| using System.IO; | |
| using System.Linq; | |
| using Microsoft.CodeAnalysis; | |
| using Microsoft.CodeAnalysis.Diagnostics; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function ApplyMergeDiscard | |
| { | |
| [cmdletbinding(SupportsShouldProcess=$true)] | |
| param | |
| ( | |
| [Parameter(Mandatory=$true)] | |
| [string] $LocalPath, | |
| [Parameter(Mandatory=$true)] | |
| [ValidateSet("MainIntoDev", "DevIntoMain")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace DevOpsFlex.PowerShell | |
| { | |
| using System.Management.Automation; | |
| using Microsoft.ServiceBus.Messaging; | |
| /// <summary> | |
| /// Push-SsrsJob commandlet implementation. | |
| /// </summary> | |
| [Cmdlet(VerbsCommon.Push, "SsrsJob")] | |
| public class PushSsrsJob : Cmdlet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| param | |
| ( | |
| [parameter(Mandatory=$true)] | |
| [string] | |
| $Xml, | |
| [parameter(Mandatory=$true)] | |
| [string] | |
| $Xdt | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace UnitTests.Common | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using Castle.Core; | |
| using Castle.MicroKernel; | |
| using Castle.MicroKernel.Handlers; | |
| using Castle.Windsor; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace ILRetail.CRM.Tests.Performance | |
| { | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text.RegularExpressions; | |
| using CRMPerformance.Data; | |
| using Microsoft.VisualStudio.TestTools.WebTesting; | |
| using Newtonsoft.Json; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [TestMethod] | |
| public void Ensure_InsertDocument_FaultContracts_AreAllMapped() | |
| { | |
| var targetOperation = typeof (IDocumentService).GetMethod( | |
| "InsertDocument", | |
| new[] | |
| { | |
| typeof (string), | |
| typeof (string) | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class ContractCheckerExtension | |
| { | |
| public static string CheckFaultContractMapping<TContract, TEx1>(this MethodInfo method, Action<Mock<WcfService<TContract>>> action) | |
| where TContract : class | |
| where TEx1 : Exception | |
| { | |
| return method.CheckFaultContractMapping<TContract, TEx1, DummyException>(action); | |
| } | |
| public static string CheckFaultContractMapping<TContract, TEx1, TEx2>(this MethodInfo method, Action<Mock<WcfService<TContract>>> action) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DocumentClient : IDocumentService | |
| { | |
| public string InsertDocument(string documentClass, string filePath) | |
| { | |
| using (var service = new WcfService<IDocumentService>()) | |
| { | |
| return InsertDocument(documentClass, filePath, service); | |
| } | |
| } |
NewerOlder