I hereby claim:
- I am madstt on github.
- I am madstt (https://keybase.io/madstt) on keybase.
- I have a public key whose fingerprint is A998 2E25 1100 A47F 32B6 6E6B A0B3 A7E6 2A2B 4C27
To claim this, I am signing this object:
[NUnitAddin] | |
public class ClassWithAddin : Ploeh.AutoFixture.NUnit2.Addins.Addin | |
{ | |
protected IFixture Fixture; | |
protected void Setup() | |
{ | |
Fixture = new Fixture(); | |
} | |
} |
CastleHelper.IocContainer.Register( | |
Component.For(typeof(IRepository<>)).ImplementedBy(typeof(NHibernateRepository<>)).Named("NHibernateRepository").LifeStyle.Is(LifestyleType.Transient)); | |
var repo = (IRepository<T>)CastleHelper.IocContainer.Resolve(typeof(IRepository<T>)); | |
// Gives me this exception: | |
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) | |
at Castle.MicroKernel.Releasers.LifecycledComponentsReleasePolicy.Track(Object instance, Burden burden) | |
at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Track(Burden burden, IReleasePolicy releasePolicy) |
Mapper.CreateMap<IFixedFrequencyLocalReportingPoint, LocalReportingPointDto>() | |
.ForMember(x => x.FrequencyId, opt => opt.MapFrom(x => x.Frequency.Id)) | |
.ForMember(x => x.QualifiedName, opt => opt.MapFrom(x => x.GetQualifiedName())) | |
; | |
Mapper.CreateMap<ITemplateBase, TemplateBaseDto>() | |
.ConvertUsing<TemplateConverter>(); | |
ITemplateBase template; | |
Mapper.Map<IFixedFrequencyLocalReportingPoint, LocalReportingPointDto>((IFixedFrequencyLocalReportingPoint)template); |
<button ng-show="user.role==='admin'" ng-click="deletePost($index)">Delete Post</button> |
I hereby claim:
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Console.WriteLine("Hello from a Gist!!") |