1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 //----------------------------------------------------------------
5 namespace System.ServiceModel.Activities.Presentation
8 using System.Collections.Generic;
14 class MessagingContentPropertyEditorResources
16 private static ResourceDictionary resources;
17 internal static ResourceDictionary GetResources()
19 if (resources == null)
21 Uri resourceLocator = new Uri(
23 typeof(MessagingContentPropertyEditorResources).Assembly.GetName().Name,
24 @";component/System/ServiceModel/Activities/Presentation/MessagingContentPropertyEditorResources.xaml"),
25 UriKind.RelativeOrAbsolute);
26 resources = (ResourceDictionary)Application.LoadComponent(resourceLocator);
28 Fx.Assert(resources != null, "Could not load argument value editor resources.");