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 ConsoleApplication3.LightInject; | |
namespace ConsoleApplication3 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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 LightInject; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace UnitTestProject1 | |
{ | |
[TestClass] | |
public class UnitTest1 | |
{ | |
public interface IMyService |
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
2013-04-25 09:41:42,323 [3] DEBUG NHibernate.Impl.SessionImpl - [session-id=de5e5dbb-d393-4e1f-a509-69f00c61066b] opened session at timestamp: 635024797023, for session factory: [/f356b6e2e842431db71726e28be22db7] | |
2013-04-25 09:41:42,324 [3] DEBUG NHibernate.Linq - Expression (partially evaluated): value(NHibernate.Linq.NhQueryable`1[DIPS.IDMConnector.Entities.User]).Where(u => (u.UserName == "PASIENT")).FirstOrDefault() | |
2013-04-25 09:41:42,324 [3] DEBUG NHibernate.Engine.Query.QueryPlanCache - located HQL query plan in cache (.FirstOrDefault[DIPS.IDMConnector.Entities.User](.Where[DIPS.IDMConnector.Entities.User](NHibernate.Linq.NhQueryable`1[DIPS.IDMConnector.Entities.User], Quote((u, ) => (String.op_Equality(u.UserName, p1))), ), )) | |
2013-04-25 09:41:42,324 [3] DEBUG NHibernate.Engine.Query.QueryPlanCache - located HQL query plan in cache (.FirstOrDefault[DIPS.IDMConnector.Entities.User](.Where[DIPS.IDMConnector.Entities.User](NHibernate.Linq.NhQueryable`1[DIPS.IDMConnector.Entities.User], Quote((u, ) => (S |
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.Data; | |
using System.Data.OracleClient; | |
using ServiceStack.OrmLite; | |
using ServiceStack.OrmLite.Oracle; | |
namespace OrmLite.Oracle.Procedure | |
{ | |
class Program | |
{ | |
public class Test |
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 class SelectAndGiveFocusToFirstElementInListBoxBehavior | |
{ | |
public static readonly DependencyProperty EnabledProperty = | |
DependencyProperty.RegisterAttached( | |
"Enabled", | |
typeof(bool), | |
typeof(SelectAndGiveFocusToFirstElementInListBoxBehavior), | |
new FrameworkPropertyMetadata(0, new PropertyChangedCallback(OnEnabledChanged))); | |
public static bool GetEnabled(ListBox listBox) {...} |