Exemplo n.º 1
0
 public ItemController(
     CosmosClient client,
     IContainerProxy containerProxy)
 {
     this.container      = client.GetContainer("OnDotNet", "episode1");
     this.containerProxy = containerProxy;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultView"/> class.
 /// </summary>
 public DefaultView(IView target)
 {
     this.target = target;
     this.proxy  = target.ProxyFor <IDefaultView>();
 }
Exemplo n.º 3
0
 /// <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();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Architecture"/> class.
 /// </summary>
 public Architecture(IView target)
 {
     this.target = target;
     this.proxy  = target.ProxyFor <IArchitecture>();
 }
Exemplo n.º 6
0
 /// <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();
 }