public ItemController( CosmosClient client, IContainerProxy containerProxy) { this.container = client.GetContainer("OnDotNet", "episode1"); this.containerProxy = containerProxy; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultView"/> class. /// </summary> public DefaultView(IView target) { this.target = target; this.proxy = target.ProxyFor <IDefaultView>(); }
/// <summary> /// Creates a new instance of the <see cref="Development"/> class. /// </summary> public Development(Runtime.IView target) { this.target = target; this.proxy = target.ProxyFor <IDevelopment>(); OnCreated(); }
/// <summary> /// Creates a new instance of the <see cref="Design"/> class. /// </summary> public Design(Runtime.IView target) { this.target = target; this.proxy = target.ProxyFor <IDesign>(); OnCreated(); }
/// <summary> /// Initializes a new instance of the <see cref="Architecture"/> class. /// </summary> public Architecture(IView target) { this.target = target; this.proxy = target.ProxyFor <IArchitecture>(); }
/// <summary> /// Creates a new instance of the <see cref="DefaultView"/> class. /// </summary> public DefaultView(Runtime.IView target) { this.target = target; this.proxy = target.ProxyFor <IDefaultView>(); OnCreated(); }