2 writes to Pattern
Microsoft.Build (2)
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
192
Pattern
= pattern;
202
Pattern
= CreationPattern.Singleton;
5 references to Pattern
Microsoft.Build (5)
BackEnd\Components\BuildComponentFactoryCollection.cs (5)
101
if (componentEntry.Value.
Pattern
== CreationPattern.Singleton)
125
_componentEntriesByType[componentType] = new BuildComponentEntry(componentType, factory, existingEntry.
Pattern
);
135
ErrorUtilities.VerifyThrow(_componentEntriesByType[componentType].
Pattern
== CreationPattern.Singleton, "Previously existing factory for type {0} was not a singleton factory.", componentType);
220
if (
Pattern
== CreationPattern.Singleton)
241
ErrorUtilities.VerifyThrow(
Pattern
== CreationPattern.Singleton, "Cannot shutdown non-singleton.");