Esempio n. 1
0
        public void Setup(DesignDoc dd, string element_name)
        {
            this.Name = element_name;
            this.dd   = dd;

            this.viewUrl = this.dd.viewUrl.Add("_view", this.Name);
        }
Esempio n. 2
0
        public DesignDoc(DB db, string name = null)
        {
            this.db = db;
            this.ID = name ?? this.TYPE;

            this.viewUrl = this.db.couchUrl.Add("_design", this.ID);

            this.SetupEmbedded();
        }