Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (35 sloc) 0.808 kb
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using Newtonsoft.Json;
namespace TaoEngine
{
public class Session
{
public string id { get; set; }
public bool isNew = false;
private Dictionary<string, dynamic> properties = new Dictionary<string, dynamic>();
public Session(string id)
{
this.id = id;
}
public dynamic this[string name]
{
get
{
if (properties.ContainsKey(name))
{
return properties[name];
}
return null;
}
set
{
properties[name] = value;
}
}
}
}
Jump to Line
Something went wrong with that request. Please try again.