public ExportMapContainer( Dictionary<string, string> connectionInfo, string pluginPath, RockService service ) { LoadComponents( connectionInfo, pluginPath, service ); }
private void LoadComponents( Dictionary<string,string> connectionInfo, string pluginFolder, RockService service ) { Components = new List<Lazy<iExportMapComponent, iExportMapData>>(); var catalog = new AggregateCatalog(); catalog.Catalogs.Add( new AssemblyCatalog( this.GetType().Assembly ) ); if ( System.IO.Directory.Exists( pluginFolder ) ) { catalog.Catalogs.Add( new SafeDirectoryCatalog( pluginFolder ) ); } container = new CompositionContainer( catalog ); container.ComposeExportedValue( "ConnectionInfo", connectionInfo ); container.ComposeExportedValue( "RockService", service ); container.ComposeParts( this ); }
public BinaryFileMap( RockService service ) { Service = service; }
public ExportMapContainer( Dictionary<string, string> connectionInfo, RockService service ) { string pluginPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Plugins"); LoadComponents( connectionInfo, pluginPath, service ); }
public LocationMap(RockService service) { Service = service; }
public PhoneNumberMap( RockService service ) { Service = service; }
public DefinedTypeMap( RockService service ) { Service = service; }
public GroupMap( RockService service ) { Service = service; }
protected ArenaMapBase(Type mapType, Dictionary<string, string> connectionInfo, RockService service ) { MapType = mapType; ConnectionInfo = connectionInfo; Service = service; }
public PersonMap( RockService service ) { Service = service; }
/// <summary> /// Initializes a new instance of the <see cref="CampusMap"/> class. /// </summary> /// <param name="service">The <see cref="RockService"/>.</param> public CampusMap(RockService service) { Service = service; }