2 writes to Pattern
Microsoft.Build (2)
BackEnd\Components\BuildComponentFactoryCollection.cs (2)
194
Pattern
= pattern;
204
Pattern
= CreationPattern.Singleton;
5 references to Pattern
Microsoft.Build (5)
BackEnd\Components\BuildComponentFactoryCollection.cs (5)
103
if (componentEntry.Value.
Pattern
== CreationPattern.Singleton)
127
_componentEntriesByType[componentType] = new BuildComponentEntry(componentType, factory, existingEntry.
Pattern
);
137
ErrorUtilities.VerifyThrow(_componentEntriesByType[componentType].
Pattern
== CreationPattern.Singleton, "Previously existing factory for type {0} was not a singleton factory.", componentType);
222
if (
Pattern
== CreationPattern.Singleton)
243
ErrorUtilities.VerifyThrow(
Pattern
== CreationPattern.Singleton, "Cannot shutdown non-singleton.");