void ReleaseDesignerOutlets() { if (DestinationBar != null) { DestinationBar.Dispose(); DestinationBar = null; } if (ListView != null) { ListView.Dispose(); ListView = null; } if (RestaurantMap != null) { RestaurantMap.Dispose(); RestaurantMap = null; } if (YasssBootun != null) { YasssBootun.Dispose(); YasssBootun = null; } }
protected override void Because_of() { _resultFoo = Mapper.Map <SourceFoo, DestinationFoo>(new SourceFoo { SourceFooValue = 5 }); _resultBar = Mapper.Map <SourceBar, DestinationBar>(new SourceBar { SourceBarValue = 6 }); }
DestinationBar ITypeConverter <SourceBar, DestinationBar> .Convert( SourceBar source, DestinationBar destination, ResolutionContext context ) { return(new DestinationBar { DestinationBarValue = source.SourceBarValue + 1000 }); }
void ReleaseDesignerOutlets() { if (DestinationBar != null) { DestinationBar.Dispose(); DestinationBar = null; } if (RestaurantMap != null) { RestaurantMap.Dispose(); RestaurantMap = null; } if (ResultList != null) { ResultList.Dispose(); ResultList = null; } }
public DestinationFoo(DestinationBar bar = null) { _bar = bar; }
public DestinationFoo(DestinationBar bar=null,string str="hello") { _bar = bar; _str = str; }
public DestinationFoo(DestinationBar bar = null, string str = "hello") { _bar = bar; _str = str; }
public DestinationFoo(DestinationBar bar, DestinationBar bar2) { _bar = bar; Bar2 = bar2; }
public DestinationFoo(DestinationBar bar) { Bar = bar; }