Esempio n. 1
0
        public bool Create(string id, enmResourceType type, string value)
        {
            ResourceContainer res = Read(id);

            //TODO Type should be taken from XMLEnum
            _resourceList.Add(new ResourceContainer() { Id = id, Type = type.ToString().ToLower(), Value = value });
            return true;
        }
Esempio n. 2
0
 public bool CreateResource(string id, enmResourceType resource, string value, bool overWrite)
 {
     TTE.Log(id, resource);
     return ResourceCache.Create(id, resource, value);
 }