예제 #1
0
 public Asset(RestfulObject parent)
     : base(parent)
 {
 }
예제 #2
0
 public DocumentAsset(RestfulObject parent, FileStream file, string title = null)
     : base(parent)
 {
     this.title = title;
     _file = file;
 }
예제 #3
0
 public ImageAsset(RestfulObject parent, FileStream file, string title = null, string link = null)
     : base(parent)
 {
     this.title = title;
     this.link = link;
     _file = file;
 }
예제 #4
0
 public Pop(RestfulObject parent)
 {
     if (parent.Parent () == null)
         throw new Exception("You must create a pop from a template's pops collection.");
     Setup((Template)parent.Parent());
 }
예제 #5
0
 public RestfulModel(RestfulObject parent)
     : base(parent)
 {
 }
예제 #6
0
 public RestfulObject(RestfulObject parent)
 {
     _parent = parent;
     _api = _parent.API ();
 }
예제 #7
0
 public Tracer(RestfulObject parent)
     : base(parent)
 {
 }