public EmulatorSize GetResolution() { var resolution = FrequencyLimitor.ParseObjWithCache(AheadWithName("Resolution"), 60 * 1000, (key) => { return(GetResolutionDirectly()); }); return(resolution); }
public override string GetSpecificIdentity() { var identity = FrequencyLimitor.ParseObjWithCache(AheadWithName("SpecificIdentity"), 60 * 60 * 1000, (key) => { var device = GetFirstOnlineDevice(); if (device != null) { return(device.SpecificIdentity); } return(base.GetSpecificIdentity()); }); return(identity); }