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.Collections.ObjectModel; | |
using System.Linq; | |
using System.Linq.Expressions; | |
namespace XpoTests | |
{ | |
public static class ExpressionExtensions | |
{ |
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.Web.UI; | |
using System.Web.UI.WebControls; | |
using DevExpress.ExpressApp; | |
using DevExpress.ExpressApp.Templates; | |
using DevExpress.ExpressApp.Utils; | |
using DevExpress.ExpressApp.Web; | |
using DevExpress.ExpressApp.Web.Editors.ASPx; | |
using DevExpress.ExpressApp.Web.Templates; | |
using DevExpress.Web.ASPxEditors; |
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
@echo off | |
runas /trustlevel:0x20000 "C:\Windows\System32\AppleControlPanel" | |
if %ERRORLEVEL% neq 0 goto error | |
goto OK | |
:ERROR | |
echo. | |
echo Are you sure you are running from a shortcut as Administrator? | |
pause |
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
// MainDemo_CycleThroughTabs.js | |
/*global test */ | |
// Settings for Neustar: | |
// replace the following with the public address of the application server, | |
var targetHost = "http://zerosharp-maindemo.elasticbeanstalk.com/"; | |
var virtualShare = "MainDemo.Web_deploy"; | |
// Settings for debug webserver: |
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.Linq; | |
using DevExpress.Xpo; | |
using DevExpress.Xpo.DB; | |
namespace XpoConsoleApplication1 | |
{ | |
class Program | |
{ | |
public class Photo : XPObject |
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
private static List<HelpPost> All() | |
{ | |
return Current | |
.GlobalCache | |
.GetSet<List<HelpPost>>( | |
CacheKey, | |
(old, ctx) => | |
{ | |
using (SiteDBContext siteDb = SiteDBContext.NewContext()) | |
{ |
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
; ========================================================== | |
; Config file for .NET Reflector including assembly lists | |
; for several versions of DevExpress XAF. | |
; | |
; Copy this file to: | |
; %LocalAppData%\Red Gate\.NET Reflector 8\Reflector.cfg | |
; ========================================================== | |
[AssemblyBrowser] | |
AssemblyList="DevExpress 13.2" |
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
# Boxstarter script for blog post http://blog.zerosharp.com/provisioning-a-new-development-machine-with-boxstarter | |
# Allow reboots | |
$Boxstarter.RebootOk=$true | |
$Boxstarter.NoPassword=$false | |
$Boxstarter.AutoLogin=$true | |
# Basic setup | |
Update-ExecutionPolicy Unrestricted | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions |
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 NotInheritable Partial Class MoreEnumerable | |
Private Sub New() | |
End Sub | |
<System.Runtime.CompilerServices.Extension> _ | |
Public Shared Function Batch(Of TSource)(source As IEnumerable(Of TSource), size As Integer) As IEnumerable(Of IEnumerable(Of TSource)) | |
Return Batch(source, size, Function(x) x) | |
End Function | |
<System.Runtime.CompilerServices.Extension> _ |
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
/// <XRTypeInfo> | |
/// <AssemblyFullName>DevExpress.XtraReports.v15.2, Version=15.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</AssemblyFullName> | |
/// <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraReports.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraReports.v15.2.dll</AssemblyLocation> | |
/// <TypeName>DevExpress.XtraReports.UI.XtraReport</TypeName> | |
/// <Localization /> | |
/// <Version>15.2</Version> | |
/// <References> | |
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.Persistent.Base.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.Persistent.Base.v15.2.dll" /> | |
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /> | |
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /> |
OlderNewer