public void ConnectionParametersConsumer(IWebPartParameters parameters)
        {
            // Set the schema
            CamlPreprocessor camlPreprocessor = new CamlPreprocessor(CamlQuery);

            parameters.SetConsumerSchema(camlPreprocessor.GetSchema());
            // The get parameters callback
            parameters.GetParametersData(ConsumeParameterValues);
        }
Ejemplo n.º 2
0
 public void ConnectionParametersConsumer(IWebPartParameters parameters)
 {
     Debug.WriteLine("ConnectionParametersConsumer " + Title);
     // Set the schema
     // Using a dummy CamlProcessor
     if (Page == null)
     {
         Debug.WriteLine("- null Page (DummyCamlEngine) " + Title);
         InitializeCamlEngine();
     }
     // _camlPreprocessor = new CamlPreprocessor(CamlQuery);
     parameters.SetConsumerSchema(_camlPreprocessor.GetSchema());
     // The get parameters callback
     parameters.GetParametersData(ConsumeParameterValues);
 }