private void AddProvider(ProviderManifest provider) { // If someone as asked for callbacks on every event, then include these too. if (allCallbackCalled && state.providers.ContainsKey(provider.Guid)) { provider.AddProviderEvents(source, allCallback); } // Remember this serialized information. state.providers[provider.Guid] = provider; }
private void AddProvider(ProviderManifest provider) { // If someone as asked for callbacks on every event, then include these too. if (allCallbackCalled && state.providers.ContainsKey(provider.Guid)) provider.AddProviderEvents(source, allCallback); // Remember this serialized information. state.providers[provider.Guid] = provider; }