2 writes to Pattern
Microsoft.Build (2)
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
196
Pattern
= pattern;
206
Pattern
= CreationPattern.Singleton;
5 references to Pattern
Microsoft.Build (5)
BackEnd\Components\BuildComponentFactoryCollection.cs (5)
105
if (componentEntry.Value.
Pattern
== CreationPattern.Singleton)
129
_componentEntriesByType[componentType] = new BuildComponentEntry(componentType, factory, existingEntry.
Pattern
);
139
ErrorUtilities.VerifyThrow(_componentEntriesByType[componentType].
Pattern
== CreationPattern.Singleton, "Previously existing factory for type {0} was not a singleton factory.", componentType);
224
if (
Pattern
== CreationPattern.Singleton)
245
ErrorUtilities.VerifyThrow(
Pattern
== CreationPattern.Singleton, "Cannot shutdown non-singleton.");