Esempio n. 1
0
		public virtual void Register<TValue>()
		where TValue : T
		{
			V_0 = new AppDataList<T, TItem>.u003cu003ec__DisplayClass1_0<TValue>();
			V_0.type = Type.GetTypeFromHandle(// 
			// Current member / type: System.Void Piranha.Runtime.AppDataList`2::Register()
			// Exception in: System.Void Register()
			// Specified method is not supported.
			// 
			// mailto: [email protected]


		IEnumerator System.Collections.IEnumerable.GetEnumerator()
		{
			return this._items.GetEnumerator();
		}
Esempio n. 2
0
		public virtual TItem GetByType(string typeName)
		{
			V_0 = new AppDataList<T, TItem>.u003cu003ec__DisplayClass4_0();
			V_0.typeName = typeName;
			return this._items.SingleOrDefault<TItem>(new Func<TItem, bool>(V_0.u003cGetByTypeu003eb__0));
		}