/
veer
/
Zaya.Translator
Обзор
Документация
Войти
/
veer
/
Zaya.Translator
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
docs/api/Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.yml
400 строк
15 KB
Vladimir Makarov
v. 0.1.0
27 июл 2026, 17:02
27 июл 2026, 17:02
ca3cbf4
Код
Авторство
О чём код?
### YamlMime:ManagedReference items: - uid: Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions commentId: T:Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions id: GoogleTranslatorServiceCollectionExtensions parent: Microsoft.Extensions.DependencyInjection children: - Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator(Microsoft.Extensions.DependencyInjection.IServiceCollection) langs: - csharp - vb name: GoogleTranslatorServiceCollectionExtensions nameWithType: GoogleTranslatorServiceCollectionExtensions fullName: Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions type: Class source: remote: path: src/Zaya.Translator.Impl.Google/Extensions/ServiceCollectionExtensions.cs branch: main repo: https://github.com/shtrasser-dev/Zaya.Translator id: GoogleTranslatorServiceCollectionExtensions path: src/Zaya.Translator.Impl.Google/Extensions/ServiceCollectionExtensions.cs startLine: 8 assemblies: - Zaya.Translator.Impl.Google namespace: Microsoft.Extensions.DependencyInjection summary: Extension methods for registering GoogleTranslator services in a DI container. example: [] syntax: content: public static class GoogleTranslatorServiceCollectionExtensions content.vb: Public Module GoogleTranslatorServiceCollectionExtensions inheritance: - System.Object inheritedMembers: - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode - System.Object.GetType - System.Object.MemberwiseClone - System.Object.ReferenceEquals(System.Object,System.Object) - System.Object.ToString - uid: Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator(Microsoft.Extensions.DependencyInjection.IServiceCollection) commentId: M:Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator(Microsoft.Extensions.DependencyInjection.IServiceCollection) id: AddGoogleTranslator(Microsoft.Extensions.DependencyInjection.IServiceCollection) isExtensionMethod: true parent: Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions langs: - csharp - vb name: AddGoogleTranslator(IServiceCollection) nameWithType: GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator(IServiceCollection) fullName: Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator(Microsoft.Extensions.DependencyInjection.IServiceCollection) type: Method source: remote: path: src/Zaya.Translator.Impl.Google/Extensions/ServiceCollectionExtensions.cs branch: main repo: https://github.com/shtrasser-dev/Zaya.Translator id: AddGoogleTranslator path: src/Zaya.Translator.Impl.Google/Extensions/ServiceCollectionExtensions.cs startLine: 13 assemblies: - Zaya.Translator.Impl.Google namespace: Microsoft.Extensions.DependencyInjection summary: Registers <xref href="Zaya.Translator.Impl.Google.Services.GoogleTranslatorService" data-throw-if-not-resolved="false"></xref> as a singleton <xref href="Zaya.Translator.Services.ITranslatorService" data-throw-if-not-resolved="false"></xref>. example: [] syntax: content: public static IServiceCollection AddGoogleTranslator(this IServiceCollection services) parameters: - id: services type: Microsoft.Extensions.DependencyInjection.IServiceCollection return: type: Microsoft.Extensions.DependencyInjection.IServiceCollection content.vb: Public Shared Function AddGoogleTranslator(services As IServiceCollection) As IServiceCollection overload: Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator* references: - uid: Microsoft.Extensions.DependencyInjection commentId: N:Microsoft.Extensions.DependencyInjection href: https://learn.microsoft.com/dotnet/api/microsoft name: Microsoft.Extensions.DependencyInjection nameWithType: Microsoft.Extensions.DependencyInjection fullName: Microsoft.Extensions.DependencyInjection spec.csharp: - uid: Microsoft name: Microsoft href: https://learn.microsoft.com/dotnet/api/microsoft - name: . - uid: Microsoft.Extensions name: Extensions href: https://learn.microsoft.com/dotnet/api/microsoft.extensions - name: . - uid: Microsoft.Extensions.DependencyInjection name: DependencyInjection href: https://learn.microsoft.com/dotnet/api/microsoft.extensions.dependencyinjection spec.vb: - uid: Microsoft name: Microsoft href: https://learn.microsoft.com/dotnet/api/microsoft - name: . - uid: Microsoft.Extensions name: Extensions href: https://learn.microsoft.com/dotnet/api/microsoft.extensions - name: . - uid: Microsoft.Extensions.DependencyInjection name: DependencyInjection href: https://learn.microsoft.com/dotnet/api/microsoft.extensions.dependencyinjection - uid: System.Object commentId: T:System.Object parent: System isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object name: object nameWithType: object fullName: object nameWithType.vb: Object fullName.vb: Object name.vb: Object - uid: System.Object.Equals(System.Object) commentId: M:System.Object.Equals(System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) name: Equals(object) nameWithType: object.Equals(object) fullName: object.Equals(object) nameWithType.vb: Object.Equals(Object) fullName.vb: Object.Equals(Object) name.vb: Equals(Object) spec.csharp: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.Equals(System.Object,System.Object) commentId: M:System.Object.Equals(System.Object,System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) name: Equals(object, object) nameWithType: object.Equals(object, object) fullName: object.Equals(object, object) nameWithType.vb: Object.Equals(Object, Object) fullName.vb: Object.Equals(Object, Object) name.vb: Equals(Object, Object) spec.csharp: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.Equals(System.Object,System.Object) name: Equals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object) - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.GetHashCode commentId: M:System.Object.GetHashCode parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode name: GetHashCode() nameWithType: object.GetHashCode() fullName: object.GetHashCode() nameWithType.vb: Object.GetHashCode() fullName.vb: Object.GetHashCode() spec.csharp: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) spec.vb: - uid: System.Object.GetHashCode name: GetHashCode isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode - name: ( - name: ) - uid: System.Object.GetType commentId: M:System.Object.GetType parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype name: GetType() nameWithType: object.GetType() fullName: object.GetType() nameWithType.vb: Object.GetType() fullName.vb: Object.GetType() spec.csharp: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) spec.vb: - uid: System.Object.GetType name: GetType isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.gettype - name: ( - name: ) - uid: System.Object.MemberwiseClone commentId: M:System.Object.MemberwiseClone parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone name: MemberwiseClone() nameWithType: object.MemberwiseClone() fullName: object.MemberwiseClone() nameWithType.vb: Object.MemberwiseClone() fullName.vb: Object.MemberwiseClone() spec.csharp: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) spec.vb: - uid: System.Object.MemberwiseClone name: MemberwiseClone isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone - name: ( - name: ) - uid: System.Object.ReferenceEquals(System.Object,System.Object) commentId: M:System.Object.ReferenceEquals(System.Object,System.Object) parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals name: ReferenceEquals(object, object) nameWithType: object.ReferenceEquals(object, object) fullName: object.ReferenceEquals(object, object) nameWithType.vb: Object.ReferenceEquals(Object, Object) fullName.vb: Object.ReferenceEquals(Object, Object) name.vb: ReferenceEquals(Object, Object) spec.csharp: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) spec.vb: - uid: System.Object.ReferenceEquals(System.Object,System.Object) name: ReferenceEquals isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals - name: ( - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ',' - name: " " - uid: System.Object name: Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object - name: ) - uid: System.Object.ToString commentId: M:System.Object.ToString parent: System.Object isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring name: ToString() nameWithType: object.ToString() fullName: object.ToString() nameWithType.vb: Object.ToString() fullName.vb: Object.ToString() spec.csharp: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) spec.vb: - uid: System.Object.ToString name: ToString isExternal: true href: https://learn.microsoft.com/dotnet/api/system.object.tostring - name: ( - name: ) - uid: System commentId: N:System isExternal: true href: https://learn.microsoft.com/dotnet/api/system name: System nameWithType: System fullName: System - uid: Zaya.Translator.Impl.Google.Services.GoogleTranslatorService commentId: T:Zaya.Translator.Impl.Google.Services.GoogleTranslatorService href: Zaya.Translator.Impl.Google.Services.GoogleTranslatorService.html name: GoogleTranslatorService nameWithType: GoogleTranslatorService fullName: Zaya.Translator.Impl.Google.Services.GoogleTranslatorService - uid: Zaya.Translator.Services.ITranslatorService commentId: T:Zaya.Translator.Services.ITranslatorService parent: Zaya.Translator.Services href: Zaya.Translator.Services.ITranslatorService.html name: ITranslatorService nameWithType: ITranslatorService fullName: Zaya.Translator.Services.ITranslatorService - uid: Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator* commentId: Overload:Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator href: Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.html#Microsoft_Extensions_DependencyInjection_GoogleTranslatorServiceCollectionExtensions_AddGoogleTranslator_Microsoft_Extensions_DependencyInjection_IServiceCollection_ name: AddGoogleTranslator nameWithType: GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator fullName: Microsoft.Extensions.DependencyInjection.GoogleTranslatorServiceCollectionExtensions.AddGoogleTranslator - uid: Microsoft.Extensions.DependencyInjection.IServiceCollection commentId: T:Microsoft.Extensions.DependencyInjection.IServiceCollection parent: Microsoft.Extensions.DependencyInjection isExternal: true href: https://learn.microsoft.com/dotnet/api/microsoft.extensions.dependencyinjection.iservicecollection name: IServiceCollection nameWithType: IServiceCollection fullName: Microsoft.Extensions.DependencyInjection.IServiceCollection - uid: Zaya.Translator.Services commentId: N:Zaya.Translator.Services href: Zaya.html name: Zaya.Translator.Services nameWithType: Zaya.Translator.Services fullName: Zaya.Translator.Services spec.csharp: - uid: Zaya name: Zaya href: Zaya.html - name: . - uid: Zaya.Translator name: Translator href: Zaya.Translator.html - name: . - uid: Zaya.Translator.Services name: Services href: Zaya.Translator.Services.html spec.vb: - uid: Zaya name: Zaya href: Zaya.html - name: . - uid: Zaya.Translator name: Translator href: Zaya.Translator.html - name: . - uid: Zaya.Translator.Services name: Services href: Zaya.Translator.Services.html