[docs] Import of Microsoft BCL Documentation.
[mono.git] / mcs / class / System / Documentation / en / System.ComponentModel / LicenseContext.xml
index 18c9998366639cd2c526e21b2f6cfd987c44b915..dce63529d8af3d719e8cc7fd4bc12859564a7b43 100644 (file)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
 <Type Name="LicenseContext" FullName="System.ComponentModel.LicenseContext">
   <TypeSignature Language="C#" Value="public class LicenseContext : IServiceProvider" Maintainer="auto" />
   <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit LicenseContext extends System.Object implements class System.IServiceProvider" />
     </Interface>
   </Interfaces>
   <Docs>
-    <summary>To be added</summary>
-    <remarks>To be added</remarks>
+    <remarks>
+      <attribution license="cc4" from="Microsoft" modified="false" />
+      <para>This class provides the default <see cref="T:System.ComponentModel.LicenseContext" />. It implements only run-time support and does not support saved license keys.</para>
+    </remarks>
+    <summary>
+      <attribution license="cc4" from="Microsoft" modified="false" />
+      <para>Specifies when you can use a licensed object and provides a way of obtaining additional services needed to support licenses running within its domain.</para>
+    </summary>
   </Docs>
   <Members>
     <Member MemberName=".ctor">
       <ReturnValue />
       <Parameters />
       <Docs>
-        <summary>To be added</summary>
         <remarks>To be added</remarks>
+        <summary>
+          <attribution license="cc4" from="Microsoft" modified="false" />
+          <para>Initializes a new instance of the <see cref="T:System.ComponentModel.LicenseContext" /> class. </para>
+        </summary>
       </Docs>
     </Member>
     <Member MemberName="GetSavedLicenseKey">
         <Parameter Name="resourceAssembly" Type="System.Reflection.Assembly" />
       </Parameters>
       <Docs>
-        <param name="type">To be added: an object of type 'Type'</param>
-        <param name="resourceAssembly">To be added: an object of type 'Reflection.Assembly'</param>
-        <summary>To be added</summary>
         <returns>To be added: an object of type 'string'</returns>
         <remarks>To be added</remarks>
+        <summary>
+          <attribution license="cc4" from="Microsoft" modified="false" />
+          <para>When overridden in a derived class, returns a saved license key for the specified type, from the specified resource assembly.</para>
+        </summary>
+        <param name="type">
+          <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Type" /> that represents the type of component. </param>
+        <param name="resourceAssembly">
+          <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Reflection.Assembly" /> with the license key. </param>
       </Docs>
     </Member>
     <Member MemberName="GetService">
         <Parameter Name="type" Type="System.Type" />
       </Parameters>
       <Docs>
-        <param name="type">To be added: an object of type 'Type'</param>
-        <summary>To be added</summary>
         <returns>To be added: an object of type 'object'</returns>
         <remarks>To be added</remarks>
+        <summary>
+          <attribution license="cc4" from="Microsoft" modified="false" />
+          <para>Gets the requested service, if it is available.</para>
+        </summary>
+        <param name="type">
+          <attribution license="cc4" from="Microsoft" modified="false" />The type of service to retrieve. </param>
       </Docs>
     </Member>
     <Member MemberName="SetSavedLicenseKey">
         <Parameter Name="key" Type="System.String" />
       </Parameters>
       <Docs>
-        <param name="type">To be added: an object of type 'Type'</param>
-        <param name="key">To be added: an object of type 'string'</param>
-        <summary>To be added</summary>
-        <remarks>To be added</remarks>
+        <remarks>
+          <attribution license="cc4" from="Microsoft" modified="false" />
+          <para>Typically, call this method when you set <see cref="T:System.ComponentModel.LicenseUsageMode" /> at design time. You must override the <see cref="P:System.ComponentModel.LicenseContext.UsageMode" /> property to implement design-time license support.</para>
+        </remarks>
+        <summary>
+          <attribution license="cc4" from="Microsoft" modified="false" />
+          <para>When overridden in a derived class, sets a license key for the specified type.</para>
+        </summary>
+        <param name="type">
+          <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Type" /> that represents the component associated with the license key. </param>
+        <param name="key">
+          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="P:System.ComponentModel.License.LicenseKey" /> to save for the type of component. </param>
       </Docs>
     </Member>
     <Member MemberName="UsageMode">
         <ReturnType>System.ComponentModel.LicenseUsageMode</ReturnType>
       </ReturnValue>
       <Docs>
-        <summary>To be added</summary>
         <value>To be added: an object of type 'LicenseUsageMode'</value>
         <remarks>To be added</remarks>
+        <summary>
+          <attribution license="cc4" from="Microsoft" modified="false" />
+          <para>When overridden in a derived class, gets a value that specifies when you can use a license.</para>
+        </summary>
       </Docs>
     </Member>
   </Members>
-</Type>
+</Type>
\ No newline at end of file