} // GetLastCalledMethod internal void SetLastCalledType(String newTypeName, Type newType) { LastCalledType lastType = new LastCalledType(); lastType.typeName = newTypeName; lastType.type = newType; _lastCalledType = lastType; } // SetLastCalledMethod
internal void SetLastCalledType(string newTypeName, Type newType) { LastCalledType type = new LastCalledType { typeName = newTypeName, type = newType }; this._lastCalledType = type; }
} // GetLastCalledMethod internal void SetLastCalledType(String newTypeName, Type newType) { LastCalledType lastType = new LastCalledType(); lastType.typeName = newTypeName; lastType.type = newType; _lastCalledType = lastType; } // SetLastCalledMethod
internal Type GetLastCalledType(string newTypeName) { LastCalledType type = this._lastCalledType; if (type != null) { string typeName = type.typeName; Type type2 = type.type; if ((typeName == null) || (type2 == null)) { return(null); } if (typeName.Equals(newTypeName)) { return(type2); } } return(null); }
internal Type GetLastCalledType(String newTypeName) { LastCalledType lastType = _lastCalledType; if (lastType == null) { return(null); } String typeName = lastType.typeName; Type t = lastType.type; if (typeName == null || t == null) { return(null); } if (typeName.Equals(newTypeName)) { return(t); } return(null); } // GetLastCalledMethod
internal void SetLastCalledType(string newTypeName, Type newType) { LastCalledType type = new LastCalledType { typeName = newTypeName, type = newType }; this._lastCalledType = type; }