public RibbonedHat(IHat hat) { this.Hat = hat; Name = "Ribboned"; Price = 1; Description = ""; }
public GoldenHat(IHat hat) { this.Hat = hat; Name = "Golden"; Price = 1; Description = ""; }
public MrPotatoHead(IHat hat, IArm leftArm, IArm rightArm) { this.hat = hat; this.arms = new IArm[] { leftArm, rightArm }; Console.WriteLine("I'm a new potato!"); hat.Tip(); }
public IIHat Create( VariableCollection <ItIndexElement, IΛIndexElement> value) { IIHat variable = null; try { variable = new IHat( value); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(variable); }
public IIHat Create( ImmutableList <IIHatResultElement> value) { IIHat result = null; try { result = new IHat( value); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(result); }
public IIHat Create( ImmutableList <IIHatResultElement> value) { IIHat result = null; try { result = new IHat( value); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(result); }
public IIHat Create( VariableCollection <ItIndexElement, IΛIndexElement> value) { IIHat variable = null; try { variable = new IHat( value); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(variable); }