~manishsinha/lpsharp/proxy-code

« back to all changes in this revision

Viewing changes to LpNet.LpSharp/ClientProxy/Pillar.cs

  • Committer: Manish Sinha
  • Date: 2011-03-08 16:34:35 UTC
  • Revision ID: manishsinha.tech@gmail.com-20110308163435-tanqewijjckmjl6h
Remove all the proxy. It is a mess

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//------------------------------------------------------------------------------
2
 
// <auto-generated>
3
 
//     This code was generated by a tool.
4
 
//     Runtime Version: 2.0.50727.1433
5
 
//
6
 
//     Changes to this file may cause incorrect behavior and will be lost if
7
 
//     the code is regenerated.
8
 
// </auto-generated>
9
 
//------------------------------------------------------------------------------
10
 
 
11
 
namespace LpNet.Launchpad.Core
12
 
{
13
 
    using System.Collections.Generic;
14
 
    using System.Reflection;
15
 
    using System.ComponentModel;
16
 
    using System;
17
 
    
18
 
    
19
 
    /// <summary>
20
 
    /// An object that might be a project, a project group, or a distribution.
21
 
    /// This is a polymorphic object served by the pillar set. Check theindividual object to see what type it is.
22
 
    /// </summary>
23
 
    internal partial class Pillar
24
 
    {
25
 
        
26
 
        protected string _uri;
27
 
        
28
 
        protected Dictionary<string,string> _httpHeaders;
29
 
        
30
 
        protected ICustomize _customizeInterface;
31
 
        
32
 
        public Pillar(string uri, Dictionary<string,string> httpHeaders, ICustomize customizeInterface)
33
 
        {
34
 
            this._uri = uri;
35
 
            this._httpHeaders = httpHeaders;
36
 
            this._customizeInterface = customizeInterface;
37
 
        }
38
 
        
39
 
        public void Get()
40
 
        {
41
 
            Dictionary<string,string> keyValue = new Dictionary<string, string>();
42
 
            string serializedData = _customizeInterface.Serialize(HttpMethodType.GET, keyValue);
43
 
            string fetchedData = _customizeInterface.Fetch(HttpMethodType.GET, this._uri, this._httpHeaders, serializedData);
44
 
        }
45
 
        
46
 
        public void Put(PillarFull PillarFull_field)
47
 
        {
48
 
            Dictionary<string,string> keyValue = new Dictionary<string, string>();
49
 
            string serializedData = _customizeInterface.Serialize(HttpMethodType.PUT, keyValue);
50
 
            string fetchedData = _customizeInterface.Fetch(HttpMethodType.PUT, this._uri, this._httpHeaders, serializedData);
51
 
        }
52
 
        
53
 
        public void Patch(PillarDiff PillarDiff_field)
54
 
        {
55
 
            Dictionary<string,string> keyValue = new Dictionary<string, string>();
56
 
            string serializedData = _customizeInterface.Serialize(HttpMethodType.PATCH, keyValue);
57
 
            string fetchedData = _customizeInterface.Fetch(HttpMethodType.PATCH, this._uri, this._httpHeaders, serializedData);
58
 
        }
59
 
    }
60
 
}