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
var themeService = this.ActiveServiceProvider.GetService(new Guid("0D915B59-2ED7-472A-9DE8-9161737EA1C5")); | |
if(themeService == null) | |
{ | |
// no theming, no problem! | |
return; | |
} | |
var currentThemeProperty = themeService.GetType().GetProperty("CurrentTheme"); | |
if(currentThemeProperty == null) | |
{ | |
// something's wrong. No theming for you |
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_ENTER(OFX) | |
#include OFX_SETTINGS_DEF | |
#if USE_DEPTHHAZE | |
/////////////////////////////////////////////////////////////////// | |
// Based on default old DoF. The old DoF was original programmed by: | |
// Matso, gp65cj042, MartyMcFly | |
// | |
// This effect works like a one-side DoF for distance haze, which slightly |
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
////----------// | |
///**GLOBAL**/// | |
//----------//// | |
//-Global Defines-// | |
//>McFX Suite General Settings<\\ | |
//-Commentary:The McFX Suite contains various Depth of Field, ambient occlusion and vision changing shader.\nThose shader are derived from MasterEffect. | |
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
//------------------------------------------------------------------------------ | |
// <auto-generated>This code was generated by LLBLGen Pro v5.0.</auto-generated> | |
//------------------------------------------------------------------------------ | |
using System; | |
using System.ComponentModel; | |
using System.Runtime.Serialization; | |
using System.Xml.Serialization; | |
using System.Collections.Specialized; | |
using System.Collections.Generic; |
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
//------------------------------------------------------------------------------ | |
// <auto-generated>This code was generated by LLBLGen Pro v5.0.</auto-generated> | |
//------------------------------------------------------------------------------ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace IHMMDocs.MongoDB.Persistence | |
{ |
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
[TestFixture] | |
public class SimpleTests | |
{ | |
private IDocumentStore _store; | |
[TestFixtureSetUp] | |
public void Init() | |
{ | |
InterceptorCore.Initialize("EF6"); |
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
PM> install-package entityframework | |
'EntityFramework 6.1.3' already installed. | |
Adding 'EntityFramework 6.1.3' to Tests. | |
install-package : Failed to add reference to 'System.ComponentModel.DataAnnotations'. Please make sure that it is in the Global Assembly Cache. | |
At line:1 char:1 | |
+ install-package entityframework | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException | |
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand | |
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
What I'm doing: | |
- I work on LLBLGen Pro, an entity modeling system | |
- I generate for an entity model two codebases: one with the entity classes (A) and one with code-first entity framework code (B). | |
- I generate csproj files with references to the files in the projects, one for A and one for B. A and B are in separate folders, the | |
csproj files are in the folders of the projects, just like when you'd create them manually. | |
- What I want now is that B, on build, pulls the entity framework v6 assembly from nuget. | |
What I have tried: | |
- I generate the packages.config file with proper xml which defines a reference to the EntityFramework package, v6.1.3, for net45. | |
- This packages.config file is added to the csproj file of 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
return baseQuery.Select(p__0 => new DTOs.DtoClasses.BoardMemberDTO() | |
{ | |
CompanyCar = new DTOs.DtoClasses.BoardMemberDTOTypes.CompanyCarDTO() | |
{ | |
Brand = p__0.CompanyCar.Brand, | |
CarId = p__0.CompanyCar.CarId, | |
}, | |
CompanyCarId = p__0.CompanyCar.CarId, | |
EmployeeId = p__0.EmployeeId, | |
ManagesDepartmentId = p__0.ManagesDepartment.DepartmentId, |
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
//------------------------------------------------------------------------------ | |
// <auto-generated>This code was generated by LLBLGen Pro v5.0.</auto-generated> | |
//------------------------------------------------------------------------------ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using InheritanceOneReverseEngineering.Linq; | |
using SD.LLBLGen.Pro.ORMSupportClasses; |