public static void Initialize( IConsole console, ISurface surface, IStyle style, IDrawings drawing, IShapes shapes, IImages images, IControls controls, ISounds sounds, IKeyboard keyboard, IMouse mouse, ITimer timer, IFlickr flickr, ISpeech speech, CancellationToken token) { TextWindow.Init(console); Desktop.Init(surface); GraphicsWindow.Init(style, surface, drawing, keyboard, mouse); Shapes.Init(shapes); ImageList.Init(images); Turtle.Init(surface, drawing, shapes); Controls.Init(controls); Sound.Init(sounds); Timer.Init(timer); Stack.Init(); Flickr.Init(flickr); Speech.Init(speech); Program.Init(token); }
/// <summary> /// Initializes a new instance of the LandauWebAPI class. /// </summary> /// <param name='rootHandler'> /// Optional. The http client handler used to handle http transport. /// </param> /// <param name='handlers'> /// Optional. The set of delegating handlers to insert in the http /// client pipeline. /// </param> public LandauWebAPI(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : base(rootHandler, handlers) { this._banners = new Banners(this); this._brands = new Brands(this); this._catalogs = new Catalogs(this); this._colors = new Colors(this); this._contactUs = new ContactUsOperations(this); this._countries = new Countries(this); this._groupOrders = new GroupOrders(this); this._images = new Images(this); this._productImages = new ProductImages(this); this._productReviews = new ProductReviews(this); this._products = new Products(this); this._questions = new Questions(this); this._retailers = new Retailers(this); this._seo = new SeoOperations(this); this._signUps = new SignUps(this); this._states = new States(this); this._swatches = new Swatches(this); this._baseUri = new Uri("http://microsoft-apiapp5dcb282abbf74b72ad1667c2-staging.azurewebsites.net:80"); }
internal static void Init(IImages images) { _images = images; }