Exemplo n.º 1
0
    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;
    }
Exemplo n.º 2
0
    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;
    }