Example #1
0
 internal PluginContext(string unsecureConfig, string secureConfig, IPluginExecutionContext pluginExecutionContext, CrmEventType eventType, Guid userid)
 {
     this.UnsecureConfig         = unsecureConfig;
     this.SecureConfig           = secureConfig;
     this.PluginExecutionContext = pluginExecutionContext;
     this.EventType = eventType;
     this.UserId    = userid;
 }
Example #2
0
 internal PluginContext(string unsecureConfig, string secureConfig, IPluginExecutionContext pluginExecutionContext, ITracingService tracingService, IOrganizationService organizationService, CrmEventType eventType, Guid userid, System.Collections.Generic.Dictionary <Type, object> _di)
 {
     this.UnsecureConfig         = unsecureConfig;
     this.SecureConfig           = secureConfig;
     this.PluginExecutionContext = pluginExecutionContext;
     this.TracingService         = tracingService;
     this.OrganizationService    = organizationService;
     this.EventType = eventType;
     this.UserId    = userid;
     this.di        = _di;
 }