This was copied from here. I added the 0-255 values as a quick reference.
- 100% — FF — 255
- 99% — FC — 252
- 98% — FA — 250
- 97% — F7 — 247
- 96% — F5 — 245
- 95% — F2 — 242
- 94% — F0 — 240
| using System.Collections.Concurrent; | |
| namespace MyProject.Handlers; | |
| /// <summary> | |
| /// A handler for limiting the number of requests made per minute. | |
| /// </summary> | |
| public class RateLimitingHandler : DelegatingHandler | |
| { | |
| private readonly ConcurrentQueue<DateTimeOffset> _callQueue = new(); |
| using System.Runtime.InteropServices; | |
| namespace ControlExample; | |
| public class Example | |
| { | |
| public float GetMainVolume() => getMainVolume(); | |
| public void SetMainVolume(float volume) => setMainVolume(volume); | |
| public bool IsMainVolumeMuted() => isMainVolumeMuted(); | |
| public void MuteMainVolume() => muteMainVolume(); |
| using System; | |
| using Prism.Ioc; | |
| using Prism.Unity; | |
| using Unity; | |
| using Unity.Lifetime; | |
| using Unity.Registration; | |
| namespace MyProject.PrismExtensions | |
| { | |
| /// <summary> |
This was copied from here. I added the 0-255 values as a quick reference.
I hereby claim:
To claim this, I am signing this object: