public static TProvider GetProvider <TSubsystem, TDescriptor, TProvider>( this SubsystemWithProvider <TSubsystem, TDescriptor, TProvider> subsystem) where TSubsystem : SubsystemWithProvider, new() where TDescriptor : SubsystemDescriptorWithProvider <TSubsystem, TProvider> where TProvider : SubsystemProvider <TSubsystem> { return(subsystem.provider); }
internal static bool RemoveStandaloneSubsystem(SubsystemWithProvider subsystem) { return(s_StandaloneSubsystems.Remove(subsystem)); }
internal static void AddStandaloneSubsystem(SubsystemWithProvider subsystem) { s_StandaloneSubsystems.Add(subsystem); }