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
| @model InnovativeSystems.OSS.OrderClient.Modules.Order.Web.EditRatePlanModel | |
| @{ | |
| ViewBag.Title = "Edit"; | |
| } | |
| <script> | |
| $(document).ready(function () { | |
| $('.rate-plan-attributes input:text').editMaskValidate(); | |
| }); | |
| </script> |
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
| if (entitySet.ElementType.KeyMembers.Count > 0) | |
| { | |
| builder.Append(" PRIMARY KEY ("); | |
| bool flag = true; | |
| foreach (EdmMember member in entitySet.ElementType.KeyMembers) | |
| { | |
| if (IsServerGeneratedGuid(member)) | |
| { | |
| throw ADP1.ServerGeneratedGuidKeyNotSupportedException(member.Name); | |
| } |
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($packageName) | |
| write-host "Testing $packageName" | |
| $chocPath = "c:\nuget" | |
| $binFile = "c:\nuget\bin\$packageName.bat" | |
| if(test-path $binFile) { | |
| Write-host "Removing $binFile" | |
| Remove-Item $binFile |
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 Test-Project { | |
| param( | |
| #The package we are looking for | |
| $PackageName | |
| ) | |
| Process { | |
| $hasPackage = $false | |
| $packages = get-package $PackageName -First 1 | |
| foreach ($package in $packages) { |
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
| SimpleConfigurator.ConfigureForTargetLogging( | |
| new NLog.Targets.FileTarget() | |
| { | |
| FileName = "${specialfolder:MyDocuments}/logs/" + filename + ".${shortdate}.txt", | |
| Layout = new NLog.Layouts.SimpleLayout("${longdate} [${level:uppercase=true}] [${threadid}] ${callsite} - ${message}"), | |
| ArchiveFileName = "${specialfolder:MyDocuments}/logs/archived/" + filename + ".{#####}.txt", | |
| ArchiveAboveSize = 10000000 /* 10 MB */, | |
| ArchiveNumbering = ArchiveNumberingMode.Sequence, | |
| ConcurrentWrites = true, | |
| KeepFileOpen = false, |
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! DumpWebforms() | |
| %s/<% \([^}]\)/@\1 | |
| %s/<%= /@ | |
| %s/<%=/@ | |
| %s/<%// | |
| %s/%>// | |
| endfunction |
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
| Primary reference "EntityFramework, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089". (TaskId:16961) | |
| Resolved file path is "C:\Builds\10\OSS\Current\Sources\Current\Billing\Web\packages\EntityFramework.4.1.10715.0\lib\EntityFramework.dll". (TaskId:16961) | |
| Reference found at search path location "{HintPathFromItem}". (TaskId:16961) | |
| For SearchPath "C:\Builds\10\OSS\Current\Sources\Current\_Dependencies". (TaskId:16961) | |
| Considered "C:\Builds\10\OSS\Current\Sources\Current\_Dependencies\EntityFramework.dll", but it didn't exist. (TaskId:16961) | |
| Considered "C:\Builds\10\OSS\Current\Sources\Current\_Dependencies\EntityFramework.exe", but it didn't exist. (TaskId:16961) | |
| For SearchPath "C:\Builds\10\OSS\Current\Sources\Current\_GAC Dependencies". (TaskId:16961) | |
| Considered "C:\Builds\10\OSS\Current\Sources\Current\_GAC Dependencies\EntityFramework.dll", but it didn't exist. (TaskId:16961) | |
| Considered "C:\Builds\10\OSS\Current\Sour |
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
| <Reference Include="System.Core" /> | |
| <Reference Include="System.Data.DataSetExtensions" /> | |
| <Reference Include="System.Web.Extensions" /> | |
| - <Reference Include="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |
| - <SpecificVersion>False</SpecificVersion> | |
| - <HintPath>..\..\lib\AspMvc-3.0\System.Web.Helpers.dll</HintPath> | |
| - <Private>False</Private> | |
| + <Reference Include="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">^M | |
| + <Private>True</Private>^M | |
| + <HintPath>..\..\packages\AspNetWebPages.Core.2.0.20126.16343\lib\net40\System.Web.Helpers.dll</HintPath>^M |
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 A { | |
| public A() { | |
| _b = new B(); | |
| } | |
| } |
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 ImportedFilePathResolver : IPathResolver | |
| { | |
| private string currentFileDirectory; | |
| private string currentFilePath; | |
| /// <summary> | |
| /// Initializes a new instance of the <see cref="ImportedFilePathResolver"/> class. | |
| /// </summary> | |
| /// <param name="currentFilePath">The path to the currently processed file.</param> | |
| public ImportedFilePathResolver(string currentFilePath) |