This file contains 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
var system = require('system'), | |
env = system.env; | |
/** | |
* Wait until the test condition is true or a timeout occurs. Useful for waiting | |
* on a server response or for a ui change (fadeIn, etc.) to occur. | |
* | |
* @param testFx javascript condition that evaluates to a boolean, | |
* it can be passed in as a string (e.g.: "1 == 1" or "$('#bar').is(':visible')" or | |
* as a callback function. |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- Designed by Yves Tremblay of ProgiNet Inc. and SBG International Inc. --> | |
<!-- Updated by Eric Hexter for ccnet - codecampserver --> | |
<!-- Updated by Roby Van Damme for use with msbuild and TeamCity--> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml"> | |
<xsl:output method="html" version="4.0" indent="yes" /> | |
<xsl:param name="applicationPath" select="'.'" /> | |
<xsl:variable name="stylecop.root" select="StyleCopViolations" /> | |
<xsl:variable name="unique.source" select="$stylecop.root/Violation[not(@Source = preceding-sibling::Violation/@Source)]" /> |
This file contains 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
for (var s, i = 1; i < 1001; i++) s = "", (i % 3 || (s += "Fizz")), (i % 5 || (s += "Buzz")), console.log(s || i); |
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<properties> | |
<ISVConnectionString>Data Source=RARE;Initial Catalog=RARE_MSCRM_ISV;Integrated Security=True</ISVConnectionString> | |
<CrmServiceUriString>http://localhost/rare/XRMServices/2011/Organization.svc</CrmServiceUriString> | |
</properties> | |
<components> | |
<component id="CrmRepo" | |
service="DataAccess.Abstract.ICrmRepository, DataAccess" | |
type="DataAccess.Concrete.CrmRepository, DataAccess" |
This file contains 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
using System.Collections.Generic; | |
using System.Web.Http; | |
using Castle.Core.Internal; | |
using Castle.Core.Resource; | |
using Castle.MicroKernel.Registration; | |
using Castle.Windsor; | |
using Castle.Windsor.Configuration.Interpreters; | |
using Hangfire; | |
using Microsoft.Owin; |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net; | |
using System.ServiceModel.Description; | |
using Microsoft.Crm.Sdk.Messages; | |
using Microsoft.Xrm.Sdk; | |
using Microsoft.Xrm.Sdk.Client; | |
using Microsoft.Xrm.Sdk.Messages; |
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd" | |
autoReload="true" | |
throwExceptions="false" | |
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log" > | |
<variable name="projectName" value="RARE" /> | |
<targets async="true"> |
This file contains 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
set MERGED_PATH=Merged | |
set SN_PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools | |
set DOTNET_PATH=C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2 | |
set PLUGIN_ASSEMBLY_NAME=YourNamespace.Plugins.dll | |
set MODULES_LIST=YourNamespace.Plugins.dll | |
set ADDITIONAL_LIBRARIES_LIST=YourNamespace.CrmProxyClasses.dll NLog.dll AutoMapper.dll Polly.dll | |
rd /s /q %MERGED_PATH% | |
md %MERGED_PATH% |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.ServiceModel; | |
using Microsoft.Crm.Sdk.Messages; | |
using Microsoft.Xrm.Sdk; | |
using Microsoft.Xrm.Sdk.Messages; | |
using Microsoft.Xrm.Sdk.Metadata; | |
using Microsoft.Xrm.Sdk.Query; |
This file contains 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 abstract class PluginBase<T> : CrmPluginBase<T> where T : Entity | |
{ | |
private IWindsorContainer ioc; | |
protected PluginBase() | |
: this(null, null) | |
{ | |
} | |
protected PluginBase(string unsecure, string secure) |
OlderNewer