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