public override void OnEnd() { object obj2 = Digester.Pop(); object obj3 = Digester.Peek(); var method = obj3.GetType().GetMethod(methodName, BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance); if (method != null) { method.Invoke(obj3, new object[] { obj2 }); } Digester.Push(obj2); }
public override void OnBegin() { if (attribute != null) { string typeName = Digester.Attributes[attribute]; if (typeName != null) { Type.GetType(typeName, true, true); } } object obj2 = Activator.CreateInstance(type); Digester.Push(obj2); }