public Api(IFreeboxOSClient freeboxOSClient) { FreeboxOSClient = freeboxOSClient; var typeName = GetType().Name; ApiName = typeName.Substring(0, typeName.Length - 3).ToLower(); }
/// <summary> /// Initializes a new instance of the <see cref="TVApi"/> class /// </summary> /// <param name="freeboxOSClient">Freebox OS client</param> public TVApi(IFreeboxOSClient freeboxOSClient) : base(freeboxOSClient) { }