annotate Messaging/Libs/MvvmLight.4.0/GalaSoft.MvvmLight.Extras.WPF4.xml @ 26:045dac571339

Working on data binding to a user control
author adminsh@apollo
date Wed, 21 Mar 2012 15:39:53 +0000
parents
children
rev   line source
26
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
1 <?xml version="1.0"?>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
2 <doc>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
3 <assembly>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
4 <name>GalaSoft.MvvmLight.Extras.WPF4</name>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
5 </assembly>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
6 <members>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
7 <member name="T:GalaSoft.MvvmLight.Converters.UniversalConverter">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
8 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
9 Implements a universal converter able to take a lambda expression (as the parameter)
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
10 and to run this expression dynamically at runtime to convert the value.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
11 Usage: Store an instance of UniversalConverter into the application's resources
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
12 and use this instance in XAML, for example with:
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
13 {Binding MyProperty,
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
14 Converter={StaticResource UniversalConverter},
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
15 ConverterParameter='b=>!b'}
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
16 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
17 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
18 <member name="M:GalaSoft.MvvmLight.Converters.UniversalConverter.Convert(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
19 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
20 Converts a value into another using an expression (lambda) passed as a string
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
21 and evaluated at runtime.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
22 The process is optimized and already created expression cached for further use.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
23 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
24 <param name="value">The value to be converted.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
25 <param name="targetType">This parameter
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
26 is not used.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
27 <param name="parameter">The lambda expression to be evaluated at runtime,
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
28 expressed as a string. For example expressions such as 'b=>!b' or
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
29 'myValue=>myValue?Visibility.Visible:Visibility.Collapsed' (or more
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
30 complex expressions) can be used.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
31 <param name="culture">This parameter is not used.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
32 <returns>The result of the conversion.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
33 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
34 <member name="M:GalaSoft.MvvmLight.Converters.UniversalConverter.ConvertBack(System.Object,System.Type,System.Object,System.Globalization.CultureInfo)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
35 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
36 This method is not implemented.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
37 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
38 <param name="value">Unused parameter.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
39 <param name="targetType">Unused parameter.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
40 <param name="parameter">Unused parameter.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
41 <param name="culture">Unused parameter.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
42 <returns>This method is not implemented.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
43 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
44 <member name="T:GalaSoft.MvvmLight.Command.EventToCommand">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
45 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
46 This <see cref="T:System.Windows.Interactivity.TriggerAction"/> can be
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
47 used to bind any event on any FrameworkElement to an <see cref="T:System.Windows.Input.ICommand"/>.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
48 Typically, this element is used in XAML to connect the attached element
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
49 to a command located in a ViewModel. This trigger can only be attached
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
50 to a FrameworkElement or a class deriving from FrameworkElement.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
51 <para>To access the EventArgs of the fired event, use a RelayCommand&lt;EventArgs&gt;
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
52 and leave the CommandParameter and CommandParameterValue empty!</para>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
53 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
54 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
55 <member name="F:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameterProperty">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
56 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
57 Identifies the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameter"/> dependency property
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
58 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
59 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
60 <member name="F:GalaSoft.MvvmLight.Command.EventToCommand.CommandProperty">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
61 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
62 Identifies the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/> dependency property
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
63 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
64 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
65 <member name="F:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabledProperty">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
66 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
67 Identifies the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabled"/> dependency property
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
68 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
69 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
70 <member name="M:GalaSoft.MvvmLight.Command.EventToCommand.OnAttached">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
71 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
72 Called when this trigger is attached to a FrameworkElement.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
73 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
74 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
75 <member name="M:GalaSoft.MvvmLight.Command.EventToCommand.GetAssociatedObject">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
76 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
77 This method is here for compatibility
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
78 with the Silverlight version.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
79 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
80 <returns>The FrameworkElement to which this trigger
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
81 is attached.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
82 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
83 <member name="M:GalaSoft.MvvmLight.Command.EventToCommand.GetCommand">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
84 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
85 This method is here for compatibility
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
86 with the Silverlight 3 version.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
87 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
88 <returns>The command that must be executed when
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
89 this trigger is invoked.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
90 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
91 <member name="M:GalaSoft.MvvmLight.Command.EventToCommand.Invoke">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
92 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
93 Provides a simple way to invoke this trigger programatically
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
94 without any EventArgs.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
95 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
96 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
97 <member name="M:GalaSoft.MvvmLight.Command.EventToCommand.Invoke(System.Object)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
98 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
99 Executes the trigger.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
100 <para>To access the EventArgs of the fired event, use a RelayCommand&lt;EventArgs&gt;
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
101 and leave the CommandParameter and CommandParameterValue empty!</para>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
102 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
103 <param name="parameter">The EventArgs of the fired event.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
104 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
105 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.Command">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
106 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
107 Gets or sets the ICommand that this trigger is bound to. This
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
108 is a DependencyProperty.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
109 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
110 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
111 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameter">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
112 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
113 Gets or sets an object that will be passed to the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
114 attached to this trigger. This is a DependencyProperty.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
115 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
116 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
117 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameterValue">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
118 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
119 Gets or sets an object that will be passed to the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
120 attached to this trigger. This property is here for compatibility
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
121 with the Silverlight version. This is NOT a DependencyProperty.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
122 For databinding, use the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameter"/> property.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
123 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
124 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
125 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabled">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
126 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
127 Gets or sets a value indicating whether the attached element must be
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
128 disabled when the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/> property's CanExecuteChanged
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
129 event fires. If this property is true, and the command's CanExecute
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
130 method returns false, the element will be disabled. If this property
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
131 is false, the element will not be disabled when the command's
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
132 CanExecute method changes. This is a DependencyProperty.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
133 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
134 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
135 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabledValue">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
136 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
137 Gets or sets a value indicating whether the attached element must be
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
138 disabled when the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/> property's CanExecuteChanged
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
139 event fires. If this property is true, and the command's CanExecute
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
140 method returns false, the element will be disabled. This property is here for
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
141 compatibility with the Silverlight version. This is NOT a DependencyProperty.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
142 For databinding, use the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabled"/> property.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
143 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
144 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
145 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.PassEventArgsToCommand">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
146 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
147 Specifies whether the EventArgs of the event that triggered this
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
148 action should be passed to the bound RelayCommand. If this is true,
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
149 the command should accept arguments of the corresponding
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
150 type (for example RelayCommand&lt;MouseButtonEventArgs&gt;).
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
151 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
152 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
153 <member name="T:GalaSoft.MvvmLight.Ioc.ISimpleIoc">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
154 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
155 A very simple IOC container with basic functionality needed to register and resolve
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
156 instances. If needed, this class can be replaced by another more elaborate
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
157 IOC container implementing the IServiceLocator interface.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
158 The inspiration for this class is at https://gist.github.com/716137 but it has
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
159 been extended with additional features.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
160 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
161 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
162 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Contains``1">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
163 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
164 Checks whether at least one instance of a given class is already created in the container.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
165 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
166 <typeparam name="TClass">The class that is queried.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
167 <returns>True if at least on instance of the class is already created, false otherwise.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
168 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
169 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Contains``1(System.String)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
170 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
171 Checks whether the instance with the given key is already created for a given class
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
172 in the container.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
173 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
174 <typeparam name="TClass">The class that is queried.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
175 <param name="key">The key that is queried.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
176 <returns>True if the instance with the given key is already registered for the given class,
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
177 false otherwise.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
178 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
179 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``2">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
180 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
181 Registers a given type for a given interface.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
182 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
183 <typeparam name="TInterface">The interface for which instances will be resolved.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
184 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
185 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
186 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``1">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
187 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
188 Registers a given type.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
189 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
190 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
191 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
192 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``1(``0)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
193 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
194 Registers a given instance for a given type.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
195 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
196 <typeparam name="TClass">The type that is being registered.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
197 <param name="instance">The instance that must be returned when the given type
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
198 is resolved.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
199 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
200 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``1(``0,System.String)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
201 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
202 Registers a given instance for a given type and a given key.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
203 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
204 <typeparam name="TClass">The type that is being registered.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
205 <param name="instance">The instance that must be returned when the given type
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
206 and the given key are resolved.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
207 <param name="key">The key for which the given instance is registered.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
208 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
209 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Reset">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
210 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
211 Resets the instance in its original states. This deletes all the
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
212 registrations.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
213 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
214 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
215 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Unregister``1">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
216 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
217 Unregisters a class from the cache and removes all the previously
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
218 created instances.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
219 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
220 <typeparam name="TClass">The class that must be removed.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
221 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
222 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Unregister``1(``0)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
223 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
224 Removes the given instance from the cache. The class itself remains
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
225 registered and can be used to create other instances.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
226 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
227 <typeparam name="TClass">The type of the instance to be removed.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
228 <param name="instance">The instance that must be removed.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
229 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
230 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Unregister``1(System.String)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
231 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
232 Removes the instance corresponding to the given key from the cache. The class itself remains
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
233 registered and can be used to create other instances.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
234 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
235 <typeparam name="TClass">The type of the instance to be removed.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
236 <param name="key">The key corresponding to the instance that must be removed.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
237 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
238 <member name="T:GalaSoft.MvvmLight.Ioc.PreferredConstructorAttribute">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
239 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
240 When used with the SimpleIoc container, specifies which constructor
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
241 should be used to instantiate when GetInstance is called.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
242 If there is only one constructor in the class, this attribute is
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
243 not needed.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
244 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
245 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
246 <member name="T:GalaSoft.MvvmLight.Ioc.SimpleIoc">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
247 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
248 A very simple IOC container with basic functionality needed to register and resolve
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
249 instances. If needed, this class can be replaced by another more elaborate
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
250 IOC container implementing the IServiceLocator interface.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
251 The inspiration for this class is at https://gist.github.com/716137 but it has
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
252 been extended with additional features.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
253 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
254 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
255 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Contains``1">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
256 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
257 Checks whether at least one instance of a given class is already created in the container.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
258 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
259 <typeparam name="TClass">The class that is queried.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
260 <returns>True if at least on instance of the class is already created, false otherwise.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
261 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
262 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Contains``1(System.String)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
263 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
264 Checks whether the instance with the given key is already created for a given class
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
265 in the container.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
266 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
267 <typeparam name="TClass">The class that is queried.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
268 <param name="key">The key that is queried.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
269 <returns>True if the instance with the given key is already registered for the given class,
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
270 false otherwise.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
271 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
272 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``2">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
273 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
274 Registers a given type for a given interface.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
275 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
276 <typeparam name="TInterface">The interface for which instances will be resolved.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
277 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
278 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
279 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``1">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
280 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
281 Registers a given type.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
282 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
283 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
284 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
285 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``1(System.Func{``0})">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
286 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
287 Registers a given instance for a given type.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
288 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
289 <typeparam name="TClass">The type that is being registered.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
290 <param name="factory">The factory method able to create the instance that
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
291 must be returned when the given type is resolved.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
292 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
293 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``1(System.Func{``0},System.String)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
294 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
295 Registers a given instance for a given type and a given key.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
296 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
297 <typeparam name="TClass">The type that is being registered.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
298 <param name="factory">The factory method able to create the instance that
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
299 must be returned when the given type is resolved.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
300 <param name="key">The key for which the given instance is registered.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
301 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
302 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Reset">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
303 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
304 Resets the instance in its original states. This deletes all the
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
305 registrations.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
306 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
307 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
308 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Unregister``1">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
309 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
310 Unregisters a class from the cache and removes all the previously
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
311 created instances.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
312 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
313 <typeparam name="TClass">The class that must be removed.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
314 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
315 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Unregister``1(``0)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
316 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
317 Removes the given instance from the cache. The class itself remains
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
318 registered and can be used to create other instances.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
319 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
320 <typeparam name="TClass">The type of the instance to be removed.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
321 <param name="instance">The instance that must be removed.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
322 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
323 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Unregister``1(System.String)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
324 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
325 Removes the instance corresponding to the given key from the cache. The class itself remains
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
326 registered and can be used to create other instances.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
327 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
328 <typeparam name="TClass">The type of the instance to be removed.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
329 <param name="key">The key corresponding to the instance that must be removed.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
330 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
331 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetService(System.Type)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
332 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
333 Gets the service object of the specified type.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
334 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
335 <returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
336 A service object of type <paramref name="serviceType"/>.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
337 -or-
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
338 null if there is no service object of type <paramref name="serviceType"/>.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
339 </returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
340 <param name="serviceType">An object that specifies the type of service object to get.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
341 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
342 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetAllInstances(System.Type)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
343 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
344 Provides a way to get all the instances of a given type available in the
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
345 cache.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
346 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
347 <param name="serviceType">The class of which all instances
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
348 must be returned.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
349 <returns>All the instances of the given type.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
350 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
351 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetAllInstances``1">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
352 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
353 Provides a way to get all the instances of a given type available in the
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
354 cache.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
355 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
356 <typeparam name="TService">The class of which all instances
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
357 must be returned.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
358 <returns>All the instances of the given type.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
359 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
360 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetInstance(System.Type)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
361 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
362 Provides a way to get an instance of a given type. If no instance had been instantiated
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
363 before, a new instance will be created. If an instance had already
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
364 been created, that same instance will be returned.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
365 <remarks>If the class has not been registered before, this method
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
366 returns null!</remarks>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
367 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
368 <param name="serviceType">The class of which an instance
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
369 must be returned.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
370 <returns>An instance of the given type.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
371 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
372 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetInstance(System.Type,System.String)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
373 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
374 Provides a way to get an instance of a given type corresponding
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
375 to a given key. If no instance had been instantiated with this
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
376 key before, a new instance will be created. If an instance had already
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
377 been created with the same key, that same instance will be returned.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
378 <remarks>If the class has not been registered before, this method
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
379 returns null!</remarks>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
380 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
381 <param name="serviceType">The class of which an instance must be returned.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
382 <param name="key">The key uniquely identifying this instance.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
383 <returns>An instance corresponding to the given type and key.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
384 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
385 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetInstance``1">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
386 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
387 Provides a way to get an instance of a given type. If no instance had been instantiated
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
388 before, a new instance will be created. If an instance had already
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
389 been created, that same instance will be returned.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
390 <remarks>If the class has not been registered before, this method
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
391 returns null!</remarks>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
392 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
393 <typeparam name="TService">The class of which an instance
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
394 must be returned.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
395 <returns>An instance of the given type.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
396 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
397 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetInstance``1(System.String)">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
398 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
399 Provides a way to get an instance of a given type corresponding
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
400 to a given key. If no instance had been instantiated with this
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
401 key before, a new instance will be created. If an instance had already
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
402 been created with the same key, that same instance will be returned.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
403 <remarks>If the class has not been registered before, this method
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
404 returns null!</remarks>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
405 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
406 <typeparam name="TService">The class of which an instance must be returned.</typeparam>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
407 <param name="key">The key uniquely identifying this instance.</param>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
408 <returns>An instance corresponding to the given type and key.</returns>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
409 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
410 <member name="P:GalaSoft.MvvmLight.Ioc.SimpleIoc.Default">
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
411 <summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
412 This class' default instance.
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
413 </summary>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
414 </member>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
415 </members>
045dac571339 Working on data binding to a user control
adminsh@apollo
parents:
diff changeset
416 </doc>