public static IBulkService GetBulkService(this ICoreObject coreObject) { return(DlcIdExtensions.LoadByDlcId(((IDlc)coreObject.Context).WorkingContext.DlcManager, DlcIds.Platform.Basics.BulkService)); }
public static INameService GetNameService(this ICoreObject coreObject) { return(DlcIdExtensions.LoadByDlcId(((IDlc)coreObject.Context).WorkingContext.DlcManager, DlcIds.Platform.ObjectFrame.NameService)); }
public static IRangeCheck GetRangeCheck(this ICoreObject coreObject) { return(DlcIdExtensions.LoadByDlcId(((IDlc)coreObject.Context).WorkingContext.DlcManager, DlcIds.Iecpl.BlockLogic.RangeCheck)); }
public static ICommandProcessor GetCommandProcessor(this ICoreObject coreObject) { return(DlcIdExtensions.LoadByDlcId(((IDlc)coreObject.Context).WorkingContext.DlcManager, DlcIds.Platform.CommonServices.CommandProcessor)); }
public static IFolderService GetFolderService(this ICoreObject coreObject) { return(DlcIdExtensions.LoadByDlcId(((IDlc)coreObject.Context).WorkingContext.DlcManager, DlcIds.Platform.DomainServices.FolderService)); }
public static ISynchronizeInvoke GetSynchronizer(this ICoreObject coreObject) { return(DlcIdExtensions.LoadByDlcId(((IDlc)coreObject.Context).WorkingContext.DlcManager, DlcIds.Platform.Basics.SynchronizerService)); }
public static ICommandProcessor GetCommandProcessor(this IWorkingContext workingContext) { ICommandProcessor commandProcessor = DlcIdExtensions.LoadByDlcId(workingContext.DlcManager, DlcIds.Platform.CommonServices.CommandProcessor); return(commandProcessor); }
//internal static void AddLoadedDlcsToList( // IEnumerable<IWorkingContext> workingContexts, // IList<DlcMetaInfo> dlcMetaInfoList, // List<IDlc> loadedDlcs) //{ // Reflector.RunStaticMethodByName(typeof(DlcManager), // "", // ReflectionWays.SystemReflection, // workingContexts, dlcMetaInfoList, loadedDlcs); //} public static ILibraryVersionService GetLibraryVersionService(this IDlcManager dlcManager) { return(DlcIdExtensions.LoadByDlcId(dlcManager, DlcIds.Iecpl.BlockLogic.LibraryVersionService)); }