private FindScopeFor ( string name ) : |
||
name | string | |
return |
internal BikeObject FindScopeFor(string name)
{
var scope = this;
while (scope != null && !scope.Members.ContainsKey(name))
scope = scope.Prototype;
return scope;
}