|
33 | 33 | <Docs> |
34 | 34 | <summary>An implementation of <see cref="T:System.Workflow.ComponentModel.Compiler.ITypeProvider" /> that acts as a container of types within the indicated assemblies and code compile units.</summary> |
35 | 35 | <remarks> |
36 | | - <format type="text/markdown"><![CDATA[ |
37 | | - |
38 | | -## Remarks |
39 | | - |
| 36 | + <format type="text/markdown"><![CDATA[ |
| 37 | +
|
| 38 | +## Remarks |
| 39 | +
|
40 | 40 | > [!NOTE] |
41 | | -> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)] |
42 | | - |
43 | | - This <xref:System.Workflow.ComponentModel.Compiler.ITypeProvider> implementation, in addition to handling compiled assemblies (<xref:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssembly%2A> and <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssemblyReference%2A> methods), can handle types that have not been compiled yet (<xref:System.Workflow.ComponentModel.Compiler.TypeProvider.AddCodeCompileUnit%2A>). The limited implementation of <xref:System.Type?displayProperty=nameWithType> is returned for types referenced using <xref:System.CodeDom.CodeCompileUnit>. |
44 | | - |
| 41 | +> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)] |
| 42 | +
|
| 43 | + This <xref:System.Workflow.ComponentModel.Compiler.ITypeProvider> implementation, in addition to handling compiled assemblies (<xref:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssembly%2A> and <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssemblyReference%2A> methods), can handle types that have not been compiled yet (<xref:System.Workflow.ComponentModel.Compiler.TypeProvider.AddCodeCompileUnit%2A>). The limited implementation of <xref:System.Type?displayProperty=nameWithType> is returned for types referenced using <xref:System.CodeDom.CodeCompileUnit>. |
| 44 | +
|
45 | 45 | > [!NOTE] |
46 | | -> <xref:System.Workflow.ComponentModel.Compiler.TypeProvider> only returns public types from referenced assemblies, and both public and non-public types from local assemblies. |
47 | | - |
| 46 | +> <xref:System.Workflow.ComponentModel.Compiler.TypeProvider> only returns public types from referenced assemblies, and both public and non-public types from local assemblies. |
| 47 | +
|
48 | 48 | ]]></format> |
49 | 49 | </remarks> |
50 | 50 | </Docs> |
|
68 | 68 | <Docs> |
69 | 69 | <param name="serviceProvider">The encapsulated <see cref="T:System.IServiceProvider" /> for this instance.</param> |
70 | 70 | <summary>Initializes a new instance of the <see cref="T:System.Workflow.ComponentModel.Compiler.TypeProvider" /> class.</summary> |
71 | | - <remarks> |
72 | | - <format type="text/markdown"><). |
76 | | - |
77 | | - :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet256"::: |
78 | | - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet256"::: |
79 | | - |
80 | | - ]]></format> |
81 | | - </remarks> |
| 71 | + <remarks>To be added.</remarks> |
82 | 72 | </Docs> |
83 | 73 | </Member> |
84 | 74 | <Member MemberName="AddAssembly"> |
|
130 | 120 | <Docs> |
131 | 121 | <param name="path">The path of the <see cref="P:System.Type.Assembly" /> to add.</param> |
132 | 122 | <summary>Adds a reference to the <see cref="P:System.Type.Assembly" /> to the internal list. This assembly is used for the <see cref="T:System.Type" /> lookup in the <see cref="M:System.Workflow.ComponentModel.Compiler.TypeProvider.GetType(System.String)" /> method.</summary> |
133 | | - <remarks> |
134 | | - <format type="text/markdown"><). |
138 | | - |
139 | | - :::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets24.cs" id="Snippet256"::: |
140 | | - :::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets24.vb" id="Snippet256"::: |
141 | | - |
142 | | - ]]></format> |
143 | | - </remarks> |
| 123 | + <remarks>To be added.</remarks> |
144 | 124 | <exception cref="T:System.ArgumentNullException"> |
145 | 125 | <paramref name="path" /> is a null reference (Visual Basic <see langword="Nothing" />).</exception> |
146 | 126 | </Docs> |
|
330 | 310 | <summary>Gets the <see cref="T:System.Object" /> that provides the designated service <see cref="T:System.Type" />.</summary> |
331 | 311 | <returns>The <see cref="T:System.Object" /> that provides the designated service <see cref="T:System.Type" />.</returns> |
332 | 312 | <remarks> |
333 | | - <format type="text/markdown"><![CDATA[ |
334 | | - |
335 | | -## Remarks |
336 | | - If the encapsulated <xref:System.IServiceProvider> associated with this instance is a null reference (`Nothing` in Visual Basic) then a null reference (`Nothing`) is returned. |
337 | | - |
| 313 | + <format type="text/markdown"><![CDATA[ |
| 314 | +
|
| 315 | +## Remarks |
| 316 | + If the encapsulated <xref:System.IServiceProvider> associated with this instance is a null reference (`Nothing` in Visual Basic) then a null reference (`Nothing`) is returned. |
| 317 | +
|
338 | 318 | ]]></format> |
339 | 319 | </remarks> |
340 | 320 | </Docs> |
|
375 | 355 | <summary>Gets the type from the set of assemblies added to the <see langword="TypeProvider" /> using <see cref="M:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssembly(System.Reflection.Assembly)" />, <see cref="M:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssemblyReference(System.String)" />, or <see cref="M:System.Workflow.ComponentModel.Compiler.TypeProvider.AddCodeCompileUnit(System.CodeDom.CodeCompileUnit)" />.</summary> |
376 | 356 | <returns>The requested <see cref="T:System.Type" />.</returns> |
377 | 357 | <remarks> |
378 | | - <format type="text/markdown"><![CDATA[ |
379 | | - |
380 | | -## Remarks |
381 | | - If the name is not resolvable within the cache of assemblies and compiled units of this instance, a null reference (Visual Basic `Nothing`) is returned. Invoking this overload is the same as invoking the two parameter overloads with the value of the parameter `throwOnError` set to `true`. |
382 | | - |
| 358 | + <format type="text/markdown"><![CDATA[ |
| 359 | +
|
| 360 | +## Remarks |
| 361 | + If the name is not resolvable within the cache of assemblies and compiled units of this instance, a null reference (Visual Basic `Nothing`) is returned. Invoking this overload is the same as invoking the two parameter overloads with the value of the parameter `throwOnError` set to `true`. |
| 362 | +
|
383 | 363 | ]]></format> |
384 | 364 | </remarks> |
385 | 365 | <exception cref="T:System.ArgumentNullException"> |
|
415 | 395 | <summary>Gets the type from the set of assemblies added to the <see langword="TypeProvider" /> using <see cref="M:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssembly(System.Reflection.Assembly)" />, <see cref="M:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssemblyReference(System.String)" />, or <see cref="M:System.Workflow.ComponentModel.Compiler.TypeProvider.AddCodeCompileUnit(System.CodeDom.CodeCompileUnit)" />.</summary> |
416 | 396 | <returns>The requested <see cref="T:System.Type" />.</returns> |
417 | 397 | <remarks> |
418 | | - <format type="text/markdown"><![CDATA[ |
419 | | - |
420 | | -## Remarks |
421 | | - If the name is not resolvable within the cache of assemblies and compiled units of this instance, a null reference (`Nothing`) is returned; in the case that `throwOnError` is `false`. |
422 | | - |
| 398 | + <format type="text/markdown"><![CDATA[ |
| 399 | +
|
| 400 | +## Remarks |
| 401 | + If the name is not resolvable within the cache of assemblies and compiled units of this instance, a null reference (`Nothing`) is returned; in the case that `throwOnError` is `false`. |
| 402 | +
|
423 | 403 | ]]></format> |
424 | 404 | </remarks> |
425 | 405 | <exception cref="T:System.ArgumentNullException"> |
|
666 | 646 | <param name="refresher">The <see cref="T:System.EventHandler" /> to delegate this event to.</param> |
667 | 647 | <summary>Updates the <see cref="T:System.CodeDom.CodeCompileUnit" /> reference associated with this instance.</summary> |
668 | 648 | <remarks> |
669 | | - <format type="text/markdown"><![CDATA[ |
670 | | - |
671 | | -## Remarks |
672 | | - The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. |
673 | | - |
| 649 | + <format type="text/markdown"><![CDATA[ |
| 650 | +
|
| 651 | +## Remarks |
| 652 | + The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. |
| 653 | +
|
674 | 654 | ]]></format> |
675 | 655 | </remarks> |
676 | 656 | <exception cref="T:System.ArgumentNullException"> |
|
701 | 681 | <param name="assembly">The <see cref="T:System.Reflection.Assembly" /> to remove from this instance.</param> |
702 | 682 | <summary>Removes all references to the subject <see cref="T:System.Reflection.Assembly" /> from this instance.</summary> |
703 | 683 | <remarks> |
704 | | - <format type="text/markdown"><![CDATA[ |
705 | | - |
706 | | -## Remarks |
707 | | - The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. |
708 | | - |
| 684 | + <format type="text/markdown"><![CDATA[ |
| 685 | +
|
| 686 | +## Remarks |
| 687 | + The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. |
| 688 | +
|
709 | 689 | ]]></format> |
710 | 690 | </remarks> |
711 | 691 | <exception cref="T:System.ArgumentNullException"> |
|
735 | 715 | <param name="path">The path of the <see cref="T:System.Reflection.Assembly" /> to be removed.</param> |
736 | 716 | <summary>Removes a path-based <see cref="T:System.Reflection.Assembly" /> reference from this instance.</summary> |
737 | 717 | <remarks> |
738 | | - <format type="text/markdown"><![CDATA[ |
739 | | - |
740 | | -## Remarks |
741 | | - The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. |
742 | | - |
| 718 | + <format type="text/markdown"><![CDATA[ |
| 719 | +
|
| 720 | +## Remarks |
| 721 | + The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. |
| 722 | +
|
743 | 723 | ]]></format> |
744 | 724 | </remarks> |
745 | 725 | <exception cref="T:System.ArgumentNullException"> |
|
769 | 749 | <param name="codeCompileUnit">The <see cref="T:System.CodeDom.CodeCompileUnit" /> to be removed.</param> |
770 | 750 | <summary>Removes all references to the subject <see cref="T:System.CodeDom.CodeCompileUnit" /> from this instance.</summary> |
771 | 751 | <remarks> |
772 | | - <format type="text/markdown"><![CDATA[ |
773 | | - |
774 | | -## Remarks |
775 | | - The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. |
776 | | - |
| 752 | + <format type="text/markdown"><![CDATA[ |
| 753 | +
|
| 754 | +## Remarks |
| 755 | + The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. |
| 756 | +
|
777 | 757 | ]]></format> |
778 | 758 | </remarks> |
779 | 759 | <exception cref="T:System.ArgumentNullException"> |
|
803 | 783 | <param name="assembly">The <see cref="T:System.Reflection.Assembly" /> used to set this value.</param> |
804 | 784 | <summary>Sets the value of the local <see cref="T:System.Reflection.Assembly" /> to the referenced <see cref="T:System.Reflection.Assembly" /> .</summary> |
805 | 785 | <remarks> |
806 | | - <format type="text/markdown"><![CDATA[ |
807 | | - |
808 | | -## Remarks |
809 | | - The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. Call <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.SetLocalAssembly%28System.Reflection.Assembly%29> before you call <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssembly%28System.Reflection.Assembly%29> otherwise it has no affect on the <xref:System.Workflow.ComponentModel.Compiler.TypeProvider>. |
810 | | - |
| 786 | + <format type="text/markdown"><![CDATA[ |
| 787 | +
|
| 788 | +## Remarks |
| 789 | + The <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.TypesChanged> is raised when this method is invoked. Call <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.SetLocalAssembly%28System.Reflection.Assembly%29> before you call <xref:System.Workflow.ComponentModel.Compiler.TypeProvider.AddAssembly%28System.Reflection.Assembly%29> otherwise it has no affect on the <xref:System.Workflow.ComponentModel.Compiler.TypeProvider>. |
| 790 | +
|
811 | 791 | ]]></format> |
812 | 792 | </remarks> |
813 | 793 | </Docs> |
|
835 | 815 | <summary>Gets an <see cref="T:System.Collections.IDictionary" /> of load error exceptions keyed by the <see cref="T:System.Object" /> that causes the <see cref="T:System.Exception" />.</summary> |
836 | 816 | <value>An <see cref="T:System.Collections.IDictionary" /> of load error exceptions keyed by the <see cref="T:System.Object" /> that causes the <see cref="T:System.Exception" />.</value> |
837 | 817 | <remarks> |
838 | | - <format type="text/markdown"><![CDATA[ |
839 | | - |
840 | | -## Remarks |
841 | | - An updated, detached <xref:System.Collections.IDictionary> is created at each reference to this property. |
842 | | - |
| 818 | + <format type="text/markdown"><![CDATA[ |
| 819 | +
|
| 820 | +## Remarks |
| 821 | + An updated, detached <xref:System.Collections.IDictionary> is created at each reference to this property. |
| 822 | +
|
843 | 823 | ]]></format> |
844 | 824 | </remarks> |
845 | 825 | </Docs> |
|
0 commit comments