summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorStephane Delcroix <stephane@delcroix.org>2017-03-16 20:09:22 +0100
committerSamantha Houts <samantha@teamredwall.com>2017-03-16 12:09:22 -0700
commit467c1befa1379c2644a3607d87db9a6178575306 (patch)
treedd5153c7d38ca310177f56a24587ad69d56f0498 /docs
parenteb8b4d19450e3264fdd20e964f48facca6521070 (diff)
downloadxamarin-forms-467c1befa1379c2644a3607d87db9a6178575306.tar.gz
xamarin-forms-467c1befa1379c2644a3607d87db9a6178575306.tar.bz2
xamarin-forms-467c1befa1379c2644a3607d87db9a6178575306.zip
Resource loading (#815)
* Resource Loader * Replace XamlLoader API by ResourceLoader for the Previewer * instruct generated IL to use the resourceLoader * [docs] update docs * oops * [docs] fix docs
Diffstat (limited to 'docs')
-rw-r--r--docs/Xamarin.Forms.Core/Xamarin.Forms.Internals/ResourceLoader.xml34
-rw-r--r--docs/Xamarin.Forms.Core/index.xml1
-rw-r--r--docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml.Internals/XamlLoader.xml5
-rw-r--r--docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml/XamlFilePathAttribute.xml2
4 files changed, 41 insertions, 1 deletions
diff --git a/docs/Xamarin.Forms.Core/Xamarin.Forms.Internals/ResourceLoader.xml b/docs/Xamarin.Forms.Core/Xamarin.Forms.Internals/ResourceLoader.xml
new file mode 100644
index 00000000..58450ad3
--- /dev/null
+++ b/docs/Xamarin.Forms.Core/Xamarin.Forms.Internals/ResourceLoader.xml
@@ -0,0 +1,34 @@
+<Type Name="ResourceLoader" FullName="Xamarin.Forms.Internals.ResourceLoader">
+ <TypeSignature Language="C#" Value="public static class ResourceLoader" />
+ <TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit ResourceLoader extends System.Object" />
+ <AssemblyInfo>
+ <AssemblyName>Xamarin.Forms.Core</AssemblyName>
+ <AssemblyVersion>2.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <Base>
+ <BaseTypeName>System.Object</BaseTypeName>
+ </Base>
+ <Interfaces />
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ <Members>
+ <Member MemberName="ResourceProvider">
+ <MemberSignature Language="C#" Value="public static Func&lt;string,string&gt; ResourceProvider { get; }" />
+ <MemberSignature Language="ILAsm" Value=".property class System.Func`2&lt;string, string&gt; ResourceProvider" />
+ <MemberType>Property</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>2.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <ReturnValue>
+ <ReturnType>System.Func&lt;System.String,System.String&gt;</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ </Members>
+</Type>
diff --git a/docs/Xamarin.Forms.Core/index.xml b/docs/Xamarin.Forms.Core/index.xml
index 32d7fe8a..4d37119d 100644
--- a/docs/Xamarin.Forms.Core/index.xml
+++ b/docs/Xamarin.Forms.Core/index.xml
@@ -478,6 +478,7 @@
<Type Name="ReflectionExtensions" Kind="Class" />
<Type Name="Registrar" Kind="Class" />
<Type Name="Registrar`1" DisplayName="Registrar&lt;TRegistrable&gt;" Kind="Class" />
+ <Type Name="ResourceLoader" Kind="Class" />
<Type Name="ResourcesChangedEventArgs" Kind="Class" />
<Type Name="SetValueFlags" Kind="Enumeration" />
<Type Name="TableModel" Kind="Class" />
diff --git a/docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml.Internals/XamlLoader.xml b/docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml.Internals/XamlLoader.xml
index 8c7c8cff..405f2cdd 100644
--- a/docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml.Internals/XamlLoader.xml
+++ b/docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml.Internals/XamlLoader.xml
@@ -9,6 +9,11 @@
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
+ <Attributes>
+ <Attribute>
+ <AttributeName>System.Obsolete("Replaced by ResourceLoader")</AttributeName>
+ </Attribute>
+ </Attributes>
<Docs>
<summary>For internal use by the XAML platform.</summary>
<remarks>To be added.</remarks>
diff --git a/docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml/XamlFilePathAttribute.xml b/docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml/XamlFilePathAttribute.xml
index c0027df4..ec83ddc6 100644
--- a/docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml/XamlFilePathAttribute.xml
+++ b/docs/Xamarin.Forms.Xaml/Xamarin.Forms.Xaml/XamlFilePathAttribute.xml
@@ -11,7 +11,7 @@
<Interfaces />
<Attributes>
<Attribute>
- <AttributeName>System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)</AttributeName>
+ <AttributeName>System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)</AttributeName>
</Attribute>
</Attributes>
<Docs>