public AlEventBindingService(IAlDesignerLoaderContext context, IServiceProvider provider, AlDesignerLoader loader) : base(provider) { this.loader = loader; if (context == null) { throw new ArgumentNullException("context"); } if (loader == null) { throw new ArgumentNullException("loader"); } this.context = context; this.loader = loader; }
public AlDesignerGenerator(IAlDesignerLoaderContext context) { this.context = context; this.primaryParseInfo = context.GetPrimaryFileParseInformation(); this.compilation = context.GetCompilation(); // Find designer class formClass = FormsDesignerSecondaryDisplayBinding.GetDesignableClass(primaryParseInfo.UnresolvedFile, compilation, out primaryPart); initializeComponents = FormsDesignerSecondaryDisplayBinding.GetInitializeComponents(formClass); if (initializeComponents == null) { throw new FormsDesignerLoadException("Could not find InitializeComponents"); } }
public AlDesignerLoader(IAlDesignerLoaderContext context) { this.context = context; }