4 using System.Collections;
5 using System.Collections.Generic;
7 using System.Runtime.Serialization;
8 using Microsoft.VisualStudio.TextTemplating;
10 namespace SiliconStudio.ProjectTemplating
14 private readonly dynamic expando;
17 public CustomTemplatingSession(ExpandoObject expando)
19 if (expando == null)
throw new ArgumentNullException(
"expando");
21 this.expando = expando;
22 this.backend = expando;
35 return ReferenceEquals(
this, other);
38 public bool Equals(Guid other)
43 public Guid Id {
get; set; }
45 public IEnumerator<KeyValuePair<string, object>> GetEnumerator()
47 return backend.GetEnumerator();
50 public void Add(KeyValuePair<string, object> item)
60 public bool Contains(KeyValuePair<string, object> item)
62 return backend.Contains(item);
65 public void CopyTo(KeyValuePair<string, object>[] array,
int arrayIndex)
67 backend.CopyTo(array, arrayIndex);
70 public bool Remove(KeyValuePair<string, object> item)
72 return backend.Remove(item);
83 public bool IsReadOnly
87 return backend.IsReadOnly;
91 public bool ContainsKey(
string key)
93 return backend.ContainsKey(key);
96 public void Add(
string key,
object value)
98 backend.Add(key, value);
101 public bool Remove(
string key)
103 return backend.Remove(key);
106 public bool TryGetValue(
string key, out
object value)
108 return backend.TryGetValue(key, out value);
111 public object this[
string key]
116 backend.TryGetValue(key, out value);
121 backend[key] = value;
137 return backend.Values;
142 IEnumerator IEnumerable.GetEnumerator()
144 return GetEnumerator();
147 public void GetObjectData(SerializationInfo info, StreamingContext context)
149 throw new NotImplementedException();
A resource that is accessible by both the GPU (read only) and the CPU (write only). A dynamic resource is a good choice for a resource that will be updated by the CPU at least once per frame. To update a dynamic resource, use a Map method.
SiliconStudio.Paradox.Input.Keys Keys
One bounding volume completely contains another.
The remove mixin to remove a mixin from current mixins.