public static StashboardClient New(Action<StashboardClientBehavior> args) { try { var init = new StashboardClientBehaviorImpl(); args(init); var client = new StashboardClientImpl(init); return client; } catch (Exception e) { throw new StashboardClientInitException("Unable to initialize the Stashboard client.", e); } }
public static StashboardClient New(Action <StashboardClientBehavior> args) { try { var init = new StashboardClientBehaviorImpl(); args(init); var client = new StashboardClientImpl(init); return(client); } catch (Exception e) { throw new StashboardClientInitException("Unable to initialize the Stashboard client.", e); } }
public StashboardClientImpl(StashboardClientBehaviorImpl args) { Behavior = args; }