Exemple #1
0
 public void AddMethods(ICodedToken propOrEvent, PropEventType propEvtType, IList <MethodDef> propEvtMethods, MethodDef method)
 {
     while (true)
     {
         int index = propEvtMethods.IndexOf(method);
         if (index < 0)
         {
             break;
         }
         propEvtMethods.RemoveAt(index);
         PropEventInfos.Add(new PropEventInfo(propOrEvent, propEvtType, index));
     }
 }
Exemple #2
0
 public PropEventInfo(ICodedToken propOrEvt, PropEventType propEventType, int index)
 {
     PropOrEvent   = propOrEvt;
     PropEventType = propEventType;
     Index         = index;
 }
Exemple #3
0
				public void AddMethods(ICodedToken propOrEvent, PropEventType propEvtType, IList<MethodDef> propEvtMethods, MethodDef method) {
					while (true) {
						int index = propEvtMethods.IndexOf(method);
						if (index < 0)
							break;
						propEvtMethods.RemoveAt(index);
						PropEventInfos.Add(new PropEventInfo(propOrEvent, propEvtType, index));
					}
				}
Exemple #4
0
					public PropEventInfo(ICodedToken propOrEvt, PropEventType propEventType, int index) {
						this.PropOrEvent = propOrEvt;
						this.PropEventType = propEventType;
						this.Index = index;
					}
 public PropEventInfo(ICodedToken propOrEvt, PropEventType propEventType, int index)
 {
     this.PropOrEvent   = propOrEvt;
     this.PropEventType = propEventType;
     this.Index         = index;
 }
					public PropEventInfo(ICodedToken propOrEvt, PropEventType propEventType, int index) {
						PropOrEvent = propOrEvt;
						PropEventType = propEventType;
						Index = index;
					}