public override Task <T> GetPropertyAsync <T>(string name) { ScriptMemberInfo property = null; if (cachedPropertyInfo.TryGetValue(name, out property)) { return(base.GetPropertyAsync <T>(property.ScriptAlias)); } else { return(base.GetPropertyAsync <T>(name)); } }
public override async Task <bool> SetPropertyAsync(string name, object value) { ScriptMemberInfo property = null; if (cachedPropertyInfo.TryGetValue(name, out property)) { return(await base.TrySetPropertyAsync(property.ScriptAlias, value, property.CreateIfNotExists, property.HasOwnProperty)); } else { return(await base.SetPropertyAsync(name, value)); } }