59
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
1 <?xml version="1.0"?>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
2 <doc>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
3 <assembly>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
4 <name>GalaSoft.MvvmLight.Extras.SL5</name>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
5 </assembly>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
6 <members>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
7 <member name="T:GalaSoft.MvvmLight.Command.EventToCommand">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
8 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
9 This <see cref="T:System.Windows.Interactivity.TriggerAction"/> can be
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
10 used to bind any event on any FrameworkElement to an <see cref="T:System.Windows.Input.ICommand"/>.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
11 Typically, this element is used in XAML to connect the attached element
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
12 to a command located in a ViewModel. This trigger can only be attached
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
13 to a FrameworkElement or a class deriving from FrameworkElement.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
14 <para>To access the EventArgs of the fired event, use a RelayCommand<EventArgs>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
15 and leave the CommandParameter and CommandParameterValue empty!</para>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
16 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
17 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
18 <member name="F:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameterProperty">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
19 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
20 Identifies the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameter"/> dependency property
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
21 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
22 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
23 <member name="F:GalaSoft.MvvmLight.Command.EventToCommand.CommandProperty">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
24 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
25 Identifies the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/> dependency property
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
26 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
27 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
28 <member name="F:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabledProperty">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
29 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
30 Identifies the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabled"/> dependency property
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
31 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
32 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
33 <member name="M:GalaSoft.MvvmLight.Command.EventToCommand.OnAttached">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
34 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
35 Called when this trigger is attached to a FrameworkElement.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
36 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
37 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
38 <member name="M:GalaSoft.MvvmLight.Command.EventToCommand.GetCommand">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
39 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
40 This method is here for compatibility
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
41 with the Silverlight 3 version.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
42 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
43 <returns>The command that must be executed when
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
44 this trigger is invoked.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
45 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
46 <member name="M:GalaSoft.MvvmLight.Command.EventToCommand.Invoke">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
47 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
48 Provides a simple way to invoke this trigger programatically
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
49 without any EventArgs.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
50 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
51 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
52 <member name="M:GalaSoft.MvvmLight.Command.EventToCommand.Invoke(System.Object)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
53 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
54 Executes the trigger.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
55 <para>To access the EventArgs of the fired event, use a RelayCommand<EventArgs>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
56 and leave the CommandParameter and CommandParameterValue empty!</para>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
57 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
58 <param name="parameter">The EventArgs of the fired event.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
59 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
60 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.Command">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
61 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
62 Gets or sets the ICommand that this trigger is bound to. This
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
63 is a DependencyProperty.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
64 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
65 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
66 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameter">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
67 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
68 Gets or sets an object that will be passed to the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
69 attached to this trigger. This is a DependencyProperty.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
70 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
71 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
72 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameterValue">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
73 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
74 Gets or sets an object that will be passed to the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
75 attached to this trigger. This property is here for compatibility
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
76 with the Silverlight version. This is NOT a DependencyProperty.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
77 For databinding, use the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.CommandParameter"/> property.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
78 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
79 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
80 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabled">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
81 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
82 Gets or sets a value indicating whether the attached element must be
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
83 disabled when the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/> property's CanExecuteChanged
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
84 event fires. If this property is true, and the command's CanExecute
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
85 method returns false, the element will be disabled. If this property
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
86 is false, the element will not be disabled when the command's
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
87 CanExecute method changes. This is a DependencyProperty.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
88 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
89 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
90 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabledValue">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
91 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
92 Gets or sets a value indicating whether the attached element must be
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
93 disabled when the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.Command"/> property's CanExecuteChanged
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
94 event fires. If this property is true, and the command's CanExecute
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
95 method returns false, the element will be disabled. This property is here for
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
96 compatibility with the Silverlight version. This is NOT a DependencyProperty.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
97 For databinding, use the <see cref="P:GalaSoft.MvvmLight.Command.EventToCommand.MustToggleIsEnabled"/> property.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
98 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
99 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
100 <member name="P:GalaSoft.MvvmLight.Command.EventToCommand.PassEventArgsToCommand">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
101 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
102 Specifies whether the EventArgs of the event that triggered this
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
103 action should be passed to the bound RelayCommand. If this is true,
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
104 the command should accept arguments of the corresponding
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
105 type (for example RelayCommand<MouseButtonEventArgs>).
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
106 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
107 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
108 <member name="T:GalaSoft.MvvmLight.Properties.Resources">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
109 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
110 A strongly-typed resource class, for looking up localized strings, etc.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
111 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
112 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
113 <member name="P:GalaSoft.MvvmLight.Properties.Resources.ResourceManager">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
114 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
115 Returns the cached ResourceManager instance used by this class.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
116 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
117 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
118 <member name="P:GalaSoft.MvvmLight.Properties.Resources.Culture">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
119 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
120 Overrides the current thread's CurrentUICulture property for all
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
121 resource lookups using this strongly typed resource class.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
122 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
123 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
124 <member name="P:GalaSoft.MvvmLight.Properties.Resources.AnInterfaceCannotBeRegisteredAlone">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
125 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
126 Looks up a localized string similar to An interface cannot be registered alone..
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
127 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
128 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
129 <member name="P:GalaSoft.MvvmLight.Properties.Resources.CannotBuildInstance">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
130 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
131 Looks up a localized string similar to Cannot build instance: Multiple constructors found but none marked with PreferredConstructor..
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
132 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
133 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
134 <member name="P:GalaSoft.MvvmLight.Properties.Resources.ClassIsAlreadyRegistered">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
135 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
136 Looks up a localized string similar to Class {0} is already registered..
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
137 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
138 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
139 <member name="P:GalaSoft.MvvmLight.Properties.Resources.ClassIsAlreadyRegisteredWithKey">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
140 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
141 Looks up a localized string similar to Class {0} is already registered with key {1}..
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
142 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
143 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
144 <member name="P:GalaSoft.MvvmLight.Properties.Resources.ThereIsAlreadyAClassRegisteredFor">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
145 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
146 Looks up a localized string similar to There is already a class registered for {0}..
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
147 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
148 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
149 <member name="P:GalaSoft.MvvmLight.Properties.Resources.ThereIsAlreadyAFactoryRegisteredFor">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
150 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
151 Looks up a localized string similar to There is already a factory registered for {0}..
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
152 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
153 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
154 <member name="P:GalaSoft.MvvmLight.Properties.Resources.ThereIsAlreadyAFactoryRegisteredForSameKey">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
155 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
156 Looks up a localized string similar to There is already a factory registered for {0} with key {1}..
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
157 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
158 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
159 <member name="P:GalaSoft.MvvmLight.Properties.Resources.TypeNotFoundInCache">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
160 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
161 Looks up a localized string similar to Type not found in cache: {0}..
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
162 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
163 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
164 <member name="P:GalaSoft.MvvmLight.Properties.Resources.TypeNotFoundInCacheKeyLess">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
165 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
166 Looks up a localized string similar to Type not found in cache without a key: {0}.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
167 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
168 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
169 <member name="T:GalaSoft.MvvmLight.Ioc.SimpleIoc">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
170 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
171 A very simple IOC container with basic functionality needed to register and resolve
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
172 instances. If needed, this class can be replaced by another more elaborate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
173 IOC container implementing the IServiceLocator interface.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
174 The inspiration for this class is at https://gist.github.com/716137 but it has
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
175 been extended with additional features.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
176 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
177 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
178 <member name="T:GalaSoft.MvvmLight.Ioc.ISimpleIoc">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
179 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
180 A very simple IOC container with basic functionality needed to register and resolve
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
181 instances. If needed, this class can be replaced by another more elaborate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
182 IOC container implementing the IServiceLocator interface.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
183 The inspiration for this class is at https://gist.github.com/716137 but it has
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
184 been extended with additional features.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
185 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
186 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
187 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.ContainsCreated``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
188 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
189 Checks whether at least one instance of a given class is already created in the container.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
190 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
191 <typeparam name="TClass">The class that is queried.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
192 <returns>True if at least on instance of the class is already created, false otherwise.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
193 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
194 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.ContainsCreated``1(System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
195 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
196 Checks whether the instance with the given key is already created for a given class
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
197 in the container.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
198 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
199 <typeparam name="TClass">The class that is queried.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
200 <param name="key">The key that is queried.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
201 <returns>True if the instance with the given key is already registered for the given class,
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
202 false otherwise.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
203 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
204 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.IsRegistered``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
205 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
206 Gets a value indicating whether a given type T is already registered.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
207 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
208 <typeparam name="T">The type that the method checks for.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
209 <returns>True if the type is registered, false otherwise.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
210 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
211 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.IsRegistered``1(System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
212 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
213 Gets a value indicating whether a given type T and a give key
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
214 are already registered.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
215 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
216 <typeparam name="T">The type that the method checks for.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
217 <param name="key">The key that the method checks for.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
218 <returns>True if the type and key are registered, false otherwise.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
219 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
220 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``2">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
221 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
222 Registers a given type for a given interface.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
223 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
224 <typeparam name="TInterface">The interface for which instances will be resolved.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
225 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
226 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
227 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``2(System.Boolean)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
228 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
229 Registers a given type for a given interface with the possibility for immediate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
230 creation of the instance.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
231 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
232 <typeparam name="TInterface">The interface for which instances will be resolved.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
233 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
234 <param name="createInstanceImmediately">If true, forces the creation of the default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
235 instance of the provided class.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
236 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
237 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
238 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
239 Registers a given type.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
240 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
241 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
242 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
243 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``1(System.Boolean)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
244 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
245 Registers a given type with the possibility for immediate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
246 creation of the instance.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
247 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
248 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
249 <param name="createInstanceImmediately">If true, forces the creation of the default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
250 instance of the provided class.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
251 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
252 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``1(System.Func{``0})">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
253 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
254 Registers a given instance for a given type.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
255 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
256 <typeparam name="TClass">The type that is being registered.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
257 <param name="factory">The factory method able to create the instance that
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
258 must be returned when the given type is resolved.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
259 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
260 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``1(System.Func{``0},System.Boolean)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
261 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
262 Registers a given instance for a given type with the possibility for immediate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
263 creation of the instance.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
264 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
265 <typeparam name="TClass">The type that is being registered.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
266 <param name="factory">The factory method able to create the instance that
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
267 must be returned when the given type is resolved.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
268 <param name="createInstanceImmediately">If true, forces the creation of the default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
269 instance of the provided class.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
270 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
271 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``1(System.Func{``0},System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
272 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
273 Registers a given instance for a given type and a given key.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
274 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
275 <typeparam name="TClass">The type that is being registered.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
276 <param name="factory">The factory method able to create the instance that
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
277 must be returned when the given type is resolved.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
278 <param name="key">The key for which the given instance is registered.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
279 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
280 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Register``1(System.Func{``0},System.String,System.Boolean)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
281 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
282 Registers a given instance for a given type and a given key with the possibility for immediate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
283 creation of the instance.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
284 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
285 <typeparam name="TClass">The type that is being registered.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
286 <param name="factory">The factory method able to create the instance that
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
287 must be returned when the given type is resolved.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
288 <param name="key">The key for which the given instance is registered.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
289 <param name="createInstanceImmediately">If true, forces the creation of the default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
290 instance of the provided class.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
291 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
292 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Reset">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
293 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
294 Resets the instance in its original states. This deletes all the
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
295 registrations.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
296 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
297 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
298 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Unregister``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
299 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
300 Unregisters a class from the cache and removes all the previously
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
301 created instances.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
302 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
303 <typeparam name="TClass">The class that must be removed.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
304 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
305 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Unregister``1(``0)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
306 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
307 Removes the given instance from the cache. The class itself remains
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
308 registered and can be used to create other instances.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
309 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
310 <typeparam name="TClass">The type of the instance to be removed.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
311 <param name="instance">The instance that must be removed.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
312 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
313 <member name="M:GalaSoft.MvvmLight.Ioc.ISimpleIoc.Unregister``1(System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
314 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
315 Removes the instance corresponding to the given key from the cache. The class itself remains
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
316 registered and can be used to create other instances.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
317 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
318 <typeparam name="TClass">The type of the instance to be removed.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
319 <param name="key">The key corresponding to the instance that must be removed.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
320 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
321 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.ContainsCreated``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
322 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
323 Checks whether at least one instance of a given class is already created in the container.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
324 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
325 <typeparam name="TClass">The class that is queried.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
326 <returns>True if at least on instance of the class is already created, false otherwise.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
327 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
328 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.ContainsCreated``1(System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
329 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
330 Checks whether the instance with the given key is already created for a given class
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
331 in the container.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
332 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
333 <typeparam name="TClass">The class that is queried.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
334 <param name="key">The key that is queried.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
335 <returns>True if the instance with the given key is already registered for the given class,
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
336 false otherwise.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
337 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
338 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.IsRegistered``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
339 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
340 Gets a value indicating whether a given type T is already registered.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
341 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
342 <typeparam name="T">The type that the method checks for.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
343 <returns>True if the type is registered, false otherwise.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
344 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
345 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.IsRegistered``1(System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
346 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
347 Gets a value indicating whether a given type T and a give key
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
348 are already registered.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
349 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
350 <typeparam name="T">The type that the method checks for.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
351 <param name="key">The key that the method checks for.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
352 <returns>True if the type and key are registered, false otherwise.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
353 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
354 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``2">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
355 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
356 Registers a given type for a given interface.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
357 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
358 <typeparam name="TInterface">The interface for which instances will be resolved.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
359 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
360 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
361 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``2(System.Boolean)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
362 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
363 Registers a given type for a given interface with the possibility for immediate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
364 creation of the instance.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
365 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
366 <typeparam name="TInterface">The interface for which instances will be resolved.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
367 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
368 <param name="createInstanceImmediately">If true, forces the creation of the default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
369 instance of the provided class.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
370 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
371 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
372 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
373 Registers a given type.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
374 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
375 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
376 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
377 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``1(System.Boolean)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
378 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
379 Registers a given type with the possibility for immediate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
380 creation of the instance.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
381 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
382 <typeparam name="TClass">The type that must be used to create instances.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
383 <param name="createInstanceImmediately">If true, forces the creation of the default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
384 instance of the provided class.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
385 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
386 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``1(System.Func{``0})">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
387 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
388 Registers a given instance for a given type.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
389 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
390 <typeparam name="TClass">The type that is being registered.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
391 <param name="factory">The factory method able to create the instance that
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
392 must be returned when the given type is resolved.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
393 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
394 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``1(System.Func{``0},System.Boolean)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
395 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
396 Registers a given instance for a given type with the possibility for immediate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
397 creation of the instance.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
398 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
399 <typeparam name="TClass">The type that is being registered.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
400 <param name="factory">The factory method able to create the instance that
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
401 must be returned when the given type is resolved.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
402 <param name="createInstanceImmediately">If true, forces the creation of the default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
403 instance of the provided class.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
404 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
405 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``1(System.Func{``0},System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
406 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
407 Registers a given instance for a given type and a given key.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
408 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
409 <typeparam name="TClass">The type that is being registered.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
410 <param name="factory">The factory method able to create the instance that
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
411 must be returned when the given type is resolved.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
412 <param name="key">The key for which the given instance is registered.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
413 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
414 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Register``1(System.Func{``0},System.String,System.Boolean)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
415 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
416 Registers a given instance for a given type and a given key with the possibility for immediate
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
417 creation of the instance.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
418 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
419 <typeparam name="TClass">The type that is being registered.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
420 <param name="factory">The factory method able to create the instance that
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
421 must be returned when the given type is resolved.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
422 <param name="key">The key for which the given instance is registered.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
423 <param name="createInstanceImmediately">If true, forces the creation of the default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
424 instance of the provided class.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
425 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
426 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Reset">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
427 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
428 Resets the instance in its original states. This deletes all the
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
429 registrations.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
430 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
431 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
432 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Unregister``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
433 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
434 Unregisters a class from the cache and removes all the previously
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
435 created instances.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
436 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
437 <typeparam name="TClass">The class that must be removed.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
438 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
439 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Unregister``1(``0)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
440 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
441 Removes the given instance from the cache. The class itself remains
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
442 registered and can be used to create other instances.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
443 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
444 <typeparam name="TClass">The type of the instance to be removed.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
445 <param name="instance">The instance that must be removed.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
446 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
447 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.Unregister``1(System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
448 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
449 Removes the instance corresponding to the given key from the cache. The class itself remains
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
450 registered and can be used to create other instances.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
451 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
452 <typeparam name="TClass">The type of the instance to be removed.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
453 <param name="key">The key corresponding to the instance that must be removed.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
454 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
455 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetAllCreatedInstances(System.Type)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
456 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
457 Provides a way to get all the created instances of a given type available in the
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
458 cache. Registering a class or a factory does not automatically
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
459 create the corresponding instance! To create an instance, either register
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
460 the class or the factory with createInstanceImmediately set to true,
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
461 or call the GetInstance method before calling GetAllCreatedInstances.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
462 Alternatively, use the GetAllInstances method, which auto-creates default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
463 instances for all registered classes.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
464 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
465 <param name="serviceType">The class of which all instances
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
466 must be returned.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
467 <returns>All the already created instances of the given type.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
468 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
469 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetAllCreatedInstances``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
470 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
471 Provides a way to get all the created instances of a given type available in the
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
472 cache. Registering a class or a factory does not automatically
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
473 create the corresponding instance! To create an instance, either register
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
474 the class or the factory with createInstanceImmediately set to true,
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
475 or call the GetInstance method before calling GetAllCreatedInstances.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
476 Alternatively, use the GetAllInstances method, which auto-creates default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
477 instances for all registered classes.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
478 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
479 <typeparam name="TService">The class of which all instances
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
480 must be returned.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
481 <returns>All the already created instances of the given type.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
482 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
483 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetService(System.Type)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
484 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
485 Gets the service object of the specified type.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
486 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
487 <returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
488 A service object of type <paramref name="serviceType" />.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
489 -or-
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
490 null if there is no service object of type <paramref name="serviceType" />.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
491 </returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
492 <param name="serviceType">An object that specifies the type of service object to get.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
493 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
494 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetAllInstances(System.Type)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
495 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
496 Provides a way to get all the created instances of a given type available in the
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
497 cache. Calling this method auto-creates default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
498 instances for all registered classes.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
499 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
500 <param name="serviceType">The class of which all instances
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
501 must be returned.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
502 <returns>All the instances of the given type.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
503 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
504 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetAllInstances``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
505 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
506 Provides a way to get all the created instances of a given type available in the
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
507 cache. Calling this method auto-creates default
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
508 instances for all registered classes.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
509 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
510 <typeparam name="TService">The class of which all instances
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
511 must be returned.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
512 <returns>All the instances of the given type.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
513 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
514 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetInstance(System.Type)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
515 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
516 Provides a way to get an instance of a given type. If no instance had been instantiated
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
517 before, a new instance will be created. If an instance had already
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
518 been created, that same instance will be returned.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
519 <remarks>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
520 If the class has not been registered before, this method
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
521 returns null!
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
522 </remarks>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
523 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
524 <param name="serviceType">The class of which an instance
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
525 must be returned.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
526 <returns>An instance of the given type.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
527 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
528 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetInstance(System.Type,System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
529 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
530 Provides a way to get an instance of a given type corresponding
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
531 to a given key. If no instance had been instantiated with this
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
532 key before, a new instance will be created. If an instance had already
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
533 been created with the same key, that same instance will be returned.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
534 <remarks>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
535 If the class has not been registered before, this method
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
536 returns null!
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
537 </remarks>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
538 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
539 <param name="serviceType">The class of which an instance must be returned.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
540 <param name="key">The key uniquely identifying this instance.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
541 <returns>An instance corresponding to the given type and key.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
542 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
543 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetInstance``1">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
544 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
545 Provides a way to get an instance of a given type. If no instance had been instantiated
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
546 before, a new instance will be created. If an instance had already
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
547 been created, that same instance will be returned.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
548 <remarks>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
549 If the class has not been registered before, this method
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
550 returns null!
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
551 </remarks>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
552 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
553 <typeparam name="TService">The class of which an instance
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
554 must be returned.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
555 <returns>An instance of the given type.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
556 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
557 <member name="M:GalaSoft.MvvmLight.Ioc.SimpleIoc.GetInstance``1(System.String)">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
558 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
559 Provides a way to get an instance of a given type corresponding
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
560 to a given key. If no instance had been instantiated with this
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
561 key before, a new instance will be created. If an instance had already
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
562 been created with the same key, that same instance will be returned.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
563 <remarks>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
564 If the class has not been registered before, this method
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
565 returns null!
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
566 </remarks>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
567 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
568 <typeparam name="TService">The class of which an instance must be returned.</typeparam>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
569 <param name="key">The key uniquely identifying this instance.</param>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
570 <returns>An instance corresponding to the given type and key.</returns>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
571 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
572 <member name="P:GalaSoft.MvvmLight.Ioc.SimpleIoc.Default">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
573 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
574 This class' default instance.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
575 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
576 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
577 <member name="T:GalaSoft.MvvmLight.Ioc.PreferredConstructorAttribute">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
578 <summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
579 When used with the SimpleIoc container, specifies which constructor
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
580 should be used to instantiate when GetInstance is called.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
581 If there is only one constructor in the class, this attribute is
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
582 not needed.
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
583 </summary>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
584 </member>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
585 </members>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
586 </doc>
|