Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RemoveService() [2/2]

virtual void System.ComponentModel.Design.ServiceContainer.RemoveService ( Type serviceType,
bool promote )
inlinevirtual

Implements System.ComponentModel.Design.IServiceContainer.

Definition at line 184 of file ServiceContainer.cs.

185 {
186 if (promote)
187 {
188 IServiceContainer container = Container;
189 if (container != null)
190 {
192 return;
193 }
194 }
195 if (serviceType == null)
196 {
197 throw new ArgumentNullException("serviceType");
198 }
200 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)

References System.ComponentModel.Design.ServiceContainer.Container, System.Collections.Generic.Dictionary< TKey, TValue >.Remove(), System.ComponentModel.Design.IServiceContainer.RemoveService(), and System.ComponentModel.Design.ServiceContainer.Services.