public void LoadFrom_Reflection_TestMethod() { EventMaps testObj = new EventMaps(); testObj.LoadByReflection(); var evtClass = testObj.CreateEventClass("Mock Event One"); Assert.IsNotNull(evtClass); }
public void LoadFrom_Config_TestMethod() { EventMaps testObj = new EventMaps(); testObj.LoadFromConfig(); var evtClass = testObj.CreateEventClass("Mock Event One"); Assert.IsNotNull(evtClass); }
public static IServiceCollection AddEventMaps(this IServiceCollection services) { // Create the event maps singleton services.AddSingleton <IEventMaps, EventMaps>(maps => { EventMaps ret = new EventMaps(); ret.LoadFromConfig(context.FunctionAppDirectory); return(ret); }); return(services); }
public TableEventStreamReader(IEventStreamIdentity identity, string connectionStringName = @"", IEventMaps eventMaps = null) : base(identity, false, connectionStringName) { // if event maps not passed in you have to create a default if (null == eventMaps) { _eventMaps = EventMaps.CreateDefaultEventMaps(); } else { _eventMaps = eventMaps; } }
public void Constructor_TestMethod() { EventMaps testObj = new EventMaps(); Assert.IsNotNull(testObj); }
internal PXCMHandConfiguration(EventMaps maps, IntPtr instance, Boolean delete) : base(instance, delete) { this.maps = maps; }
internal PXCMHandConfiguration(IntPtr instance, Boolean delete) : base(instance, delete) { maps = new EventMaps(); }
internal PXCMFaceConfiguration(EventMaps maps, IntPtr instance, Boolean delete) : base(instance, delete) { GetConfigurationsINT(instance, out configs); this.maps = maps; }
internal PXCMFaceConfiguration(IntPtr instance, Boolean delete) : base(instance, delete) { GetConfigurationsINT(instance, out configs); maps = new EventMaps(); }