Add type to Constants method

This commit is contained in:
Joseph An 2016-11-08 08:09:25 -08:00
parent 97d27b95c2
commit cd64399f16
9 changed files with 7473 additions and 2579 deletions

Binary file not shown.

View File

@ -5,11 +5,11 @@ VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RNI18n", "RNI18n\RNI18n.csproj", "{FE1EB2E5-A4F7-4DBD-A3AA-502AE5F11CFE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactNative", "..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj", "{C7673AD5-E3AA-468C-A5FD-FA38154E205C}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactNative", "..\..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj", "{C7673AD5-E3AA-468C-A5FD-FA38154E205C}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
..\node_modules\react-native-windows\ReactWindows\ReactNative.Shared\ReactNative.Shared.projitems*{c7673ad5-e3aa-468c-a5fd-fa38154e205c}*SharedItemsImports = 4
..\..\node_modules\react-native-windows\ReactWindows\ReactNative.Shared\ReactNative.Shared.projitems*{c7673ad5-e3aa-468c-a5fd-fa38154e205c}*SharedItemsImports = 4
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU

View File

@ -107,12 +107,12 @@
<None Include="project.json" />
</ItemGroup>
<ItemGroup>
<Compile Include="Class1.cs" />
<Compile Include="ReactNatievI18n.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Properties\RNI18n.rd.xml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj">
<ProjectReference Include="..\..\..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj">
<Project>{c7673ad5-e3aa-468c-a5fd-fa38154e205c}</Project>
<Name>ReactNative</Name>
</ProjectReference>

View File

@ -16,7 +16,7 @@ namespace ReactNative.Modules.RNI18n
}
}
public override GetConstants()
public override Dictionary<String, Object> Constants()
{
Dictionary<String, Object> constants = new Dictionary<string, object>();
constants.Add("locale", System.Globalization.CultureInfo.CurrentCulture.Name);

View File

@ -0,0 +1 @@
C:\code\react-native-i18n\windows\RNI18n\obj\Debug\RNI18n.csprojResolveAssemblyReference.cache

View File

File diff suppressed because it is too large Load Diff