517 lines
15 KiB
JSON
517 lines
15 KiB
JSON
{
|
|
"AssemblyIdentity": "Microsoft.Extensions.Localization, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
|
|
"Types": [
|
|
{
|
|
"Name": "Microsoft.Extensions.DependencyInjection.LocalizationServiceCollectionExtensions",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"Abstract": true,
|
|
"Static": true,
|
|
"Sealed": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AddLocalization",
|
|
"Parameters": [
|
|
{
|
|
"Name": "services",
|
|
"Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
|
|
"Static": true,
|
|
"Extension": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "AddLocalization",
|
|
"Parameters": [
|
|
{
|
|
"Name": "services",
|
|
"Type": "Microsoft.Extensions.DependencyInjection.IServiceCollection"
|
|
},
|
|
{
|
|
"Name": "setupAction",
|
|
"Type": "System.Action<Microsoft.Extensions.Localization.LocalizationOptions>"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.DependencyInjection.IServiceCollection",
|
|
"Static": true,
|
|
"Extension": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.Extensions.Localization.IResourceNamesCache",
|
|
"Visibility": "Public",
|
|
"Kind": "Interface",
|
|
"Abstract": true,
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetOrAdd",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "valueFactory",
|
|
"Type": "System.Func<System.String, System.Collections.Generic.IList<System.String>>"
|
|
}
|
|
],
|
|
"ReturnType": "System.Collections.Generic.IList<System.String>",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.Extensions.Localization.LocalizationOptions",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_ResourcesPath",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "set_ResourcesPath",
|
|
"Parameters": [
|
|
{
|
|
"Name": "value",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.Void",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.Extensions.Localization.ResourceManagerStringLocalizer",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.Extensions.Localization.IStringLocalizer"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Item",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.Localization.LocalizedString",
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Item",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "arguments",
|
|
"Type": "System.Object[]",
|
|
"IsParams": true
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.Localization.LocalizedString",
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "WithCulture",
|
|
"Parameters": [
|
|
{
|
|
"Name": "culture",
|
|
"Type": "System.Globalization.CultureInfo"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetAllStrings",
|
|
"Parameters": [
|
|
{
|
|
"Name": "includeParentCultures",
|
|
"Type": "System.Boolean"
|
|
}
|
|
],
|
|
"ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString>",
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetAllStrings",
|
|
"Parameters": [
|
|
{
|
|
"Name": "includeParentCultures",
|
|
"Type": "System.Boolean"
|
|
},
|
|
{
|
|
"Name": "culture",
|
|
"Type": "System.Globalization.CultureInfo"
|
|
}
|
|
],
|
|
"ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString>",
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetStringSafely",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "culture",
|
|
"Type": "System.Globalization.CultureInfo"
|
|
}
|
|
],
|
|
"ReturnType": "System.String",
|
|
"Visibility": "Protected",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "resourceManager",
|
|
"Type": "System.Resources.ResourceManager"
|
|
},
|
|
{
|
|
"Name": "resourceAssembly",
|
|
"Type": "System.Reflection.Assembly"
|
|
},
|
|
{
|
|
"Name": "baseName",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "resourceNamesCache",
|
|
"Type": "Microsoft.Extensions.Localization.IResourceNamesCache"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "resourceManager",
|
|
"Type": "System.Resources.ResourceManager"
|
|
},
|
|
{
|
|
"Name": "resourceAssemblyWrapper",
|
|
"Type": "Microsoft.Extensions.Localization.Internal.AssemblyWrapper"
|
|
},
|
|
{
|
|
"Name": "baseName",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "resourceNamesCache",
|
|
"Type": "Microsoft.Extensions.Localization.IResourceNamesCache"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.Extensions.Localization.ResourceManagerStringLocalizerFactory",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.Extensions.Localization.IStringLocalizerFactory"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Create",
|
|
"Parameters": [
|
|
{
|
|
"Name": "resourceSource",
|
|
"Type": "System.Type"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizerFactory",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "Create",
|
|
"Parameters": [
|
|
{
|
|
"Name": "baseName",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "location",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizerFactory",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "hostingEnvironment",
|
|
"Type": "Microsoft.AspNetCore.Hosting.IHostingEnvironment"
|
|
},
|
|
{
|
|
"Name": "localizationOptions",
|
|
"Type": "Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Localization.LocalizationOptions>"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.Extensions.Localization.ResourceManagerWithCultureStringLocalizer",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"BaseType": "Microsoft.Extensions.Localization.ResourceManagerStringLocalizer",
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Item",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.Localization.LocalizedString",
|
|
"Virtual": true,
|
|
"Override": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Item",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "arguments",
|
|
"Type": "System.Object[]",
|
|
"IsParams": true
|
|
}
|
|
],
|
|
"ReturnType": "Microsoft.Extensions.Localization.LocalizedString",
|
|
"Virtual": true,
|
|
"Override": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetAllStrings",
|
|
"Parameters": [
|
|
{
|
|
"Name": "includeParentCultures",
|
|
"Type": "System.Boolean"
|
|
}
|
|
],
|
|
"ReturnType": "System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString>",
|
|
"Virtual": true,
|
|
"Override": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IStringLocalizer",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "resourceManager",
|
|
"Type": "System.Resources.ResourceManager"
|
|
},
|
|
{
|
|
"Name": "resourceAssembly",
|
|
"Type": "System.Reflection.Assembly"
|
|
},
|
|
{
|
|
"Name": "baseName",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "resourceNamesCache",
|
|
"Type": "Microsoft.Extensions.Localization.IResourceNamesCache"
|
|
},
|
|
{
|
|
"Name": "culture",
|
|
"Type": "System.Globalization.CultureInfo"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.Extensions.Localization.ResourceNamesCache",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [
|
|
"Microsoft.Extensions.Localization.IResourceNamesCache"
|
|
],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetOrAdd",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
},
|
|
{
|
|
"Name": "valueFactory",
|
|
"Type": "System.Func<System.String, System.Collections.Generic.IList<System.String>>"
|
|
}
|
|
],
|
|
"ReturnType": "System.Collections.Generic.IList<System.String>",
|
|
"Sealed": true,
|
|
"Virtual": true,
|
|
"ImplementedInterface": "Microsoft.Extensions.Localization.IResourceNamesCache",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
},
|
|
{
|
|
"Name": "Microsoft.Extensions.Localization.Internal.AssemblyWrapper",
|
|
"Visibility": "Public",
|
|
"Kind": "Class",
|
|
"ImplementedInterfaces": [],
|
|
"Members": [
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_Assembly",
|
|
"Parameters": [],
|
|
"ReturnType": "System.Reflection.Assembly",
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "get_FullName",
|
|
"Parameters": [],
|
|
"ReturnType": "System.String",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Method",
|
|
"Name": "GetManifestResourceStream",
|
|
"Parameters": [
|
|
{
|
|
"Name": "name",
|
|
"Type": "System.String"
|
|
}
|
|
],
|
|
"ReturnType": "System.IO.Stream",
|
|
"Virtual": true,
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
},
|
|
{
|
|
"Kind": "Constructor",
|
|
"Name": ".ctor",
|
|
"Parameters": [
|
|
{
|
|
"Name": "assembly",
|
|
"Type": "System.Reflection.Assembly"
|
|
}
|
|
],
|
|
"Visibility": "Public",
|
|
"GenericParameter": []
|
|
}
|
|
],
|
|
"GenericParameters": []
|
|
}
|
|
]
|
|
} |