6 instantiations of AssemblyReference
System.Activities (4)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (1)
244
assemblies.Add(new
AssemblyReference
System\Activities\Expressions\AssemblyReference.cs (2)
91
return new
AssemblyReference
{ Assembly = assembly };
98
return new
AssemblyReference
{ AssemblyName = assemblyName };
System\Activities\XamlIntegration\AssemblyReferenceConverter.cs (1)
28
AssemblyReference result = new
AssemblyReference
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
87
AssemblyReference reference = new
AssemblyReference
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
553
this.TextExpressionReferences.Add(new
AssemblyReference
{ AssemblyName = new AssemblyName(assembly) });
62 references to AssemblyReference
System.Activities (40)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
689
IList<
AssemblyReference
> referencedAssemblies;
693
foreach (
AssemblyReference
reference in referencedAssemblies)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (9)
53
return
AssemblyReference
.GetFastAssemblyName(assembly);
176
Assembly loaded =
AssemblyReference
.GetAssembly(assemblyName);
184
public static void GetAllImportReferences(Activity activity, bool isDesignTime, out IList<string> namespaces, out IList<
AssemblyReference
> assemblies)
187
List<
AssemblyReference
> assemblyList = new List<
AssemblyReference
>();
211
IList<
AssemblyReference
> rootAssemblies;
239
IList<string> namespaces, IList<
AssemblyReference
> assemblies)
255
IList<
AssemblyReference
> localAssemblies;
262
foreach (
AssemblyReference
assemblyReference in localAssemblies)
System\Activities\DynamicUpdate\DynamicUpdateServices.cs (1)
251
IList<
AssemblyReference
> referencesForImplementation = TextExpression.GetReferencesForImplementation(activityDefinition);
System\Activities\Expressions\AssemblyReference.cs (2)
89
public static implicit operator
AssemblyReference
(Assembly assembly)
96
public static implicit operator
AssemblyReference
(AssemblyName assemblyName)
System\Activities\Expressions\TextExpression.cs (16)
40
private static readonly ReadOnlyCollection<
AssemblyReference
> defaultReferences = new ReadOnlyCollection<
AssemblyReference
>(new
AssemblyReference
[]
56
public static IList<
AssemblyReference
> DefaultReferences
123
public static IList<
AssemblyReference
> GetReferencesInScope(Activity activity)
128
IList<
AssemblyReference
> result = isImplementation ? GetReferencesForImplementation(root) : GetReferences(root);
140
public static IList<
AssemblyReference
> GetReferences(object target)
142
return GetCollection<
AssemblyReference
>(target, referencesProperty);
145
public static void SetReferences(object target, IList<
AssemblyReference
> references)
150
public static void SetReferences(object target, params
AssemblyReference
[] references)
157
return ShouldSerializeCollection<
AssemblyReference
>(target, referencesProperty);
160
public static IList<
AssemblyReference
> GetReferencesForImplementation(object target)
162
return GetCollection<
AssemblyReference
>(target, referencesForImplementationProperty);
165
public static void SetReferencesForImplementation(object target, IList<
AssemblyReference
> references)
170
public static void SetReferencesForImplementation(object target, params
AssemblyReference
[] references)
179
return !(target is Activity) && ShouldSerializeCollection<
AssemblyReference
>(target, referencesForImplementationProperty);
System\Activities\XamlIntegration\AssemblyReferenceConverter.cs (6)
28
AssemblyReference
result = new AssemblyReference
64
AssemblyReference
reference = value as
AssemblyReference
;
80
AssemblyName assemblyName =
AssemblyReference
.GetFastAssemblyName(reference.Assembly);
103
AssemblyName assemblyName =
AssemblyReference
.GetFastAssemblyName(assembly);
104
if (
AssemblyReference
.AssemblySatisfiesReference(assemblyName, assemblyReference))
System\Activities\XamlIntegration\TextExpressionCompiler.cs (4)
2425
List<
AssemblyReference
> assemblies = this.settings.ForImplementation ?
2426
new List<
AssemblyReference
>(TextExpression.GetReferencesForImplementation(this.settings.Activity)) :
2427
new List<
AssemblyReference
>(TextExpression.GetReferences(this.settings.Activity));
2431
foreach (
AssemblyReference
assemblyReference in assemblies)
System.Activities.Presentation (22)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (2)
46
conversionRequiredTypes.Add(typeof(System.Activities.Expressions.
AssemblyReference
));
47
conversionRequiredTypes.Add(typeof(System.Collections.ObjectModel.Collection<System.Activities.Expressions.
AssemblyReference
>));
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (7)
23
internal static IList<string> GetTextExpressionNamespaces(object root, out IList<
AssemblyReference
> references)
37
internal static void SetTextExpressionNamespaces(object root, IList<string> namespaces, IList<
AssemblyReference
> references)
63
internal static void ConvertToTextExpressionImports(VisualBasicSettings settings, out IList<string> importedNamespace, out IList<
AssemblyReference
> references)
84
references = new Collection<
AssemblyReference
>();
87
AssemblyReference
reference = new AssemblyReference
96
internal static void ConvertToVBSettings(IList<string> importedNamespaces, IList<
AssemblyReference
> references, EditingContext context, out VisualBasicSettings settings)
106
foreach (
AssemblyReference
reference in references)
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (7)
68
IList<
AssemblyReference
> references;
83
IList<
AssemblyReference
> references;
492
public TextExpressionNamespaceList(IList<string> importedNamespaces, IList<
AssemblyReference
> references)
511
internal IList<
AssemblyReference
> TextExpressionReferences
525
AssemblyReference
toRemove = null;
526
foreach (
AssemblyReference
reference in this.TextExpressionReferences)
543
foreach (
AssemblyReference
reference in this.TextExpressionReferences)
System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (3)
49
IList<
AssemblyReference
> references;
96
NamespaceHelper.SetTextExpressionNamespaces(root, new Collection<string>(), new Collection<
AssemblyReference
>());
130
IList<
AssemblyReference
> referencedAssemblies;
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
343
IList<
AssemblyReference
> references;
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (2)
683
IList<
AssemblyReference
> references;
685
foreach (
AssemblyReference
reference in references)