public MyElemSetter(elemEnum e, Action helperAction) { MethodInfo callingMethodInfo = helperAction.Method; if (helperAction.Method.Name.Contains("<SetElemType>")) { elem = e; } }
public void SetElemType(string type) { this._elemType = (elemEnum)Enum.Parse(typeof(elemEnum), type); }