public void ObtainReferencedAssemblies(TisEventsManager eventsManager)
        {
            eventsManager.CustomizationDir = AssemblyPath;

            ReferencedAssemblies.AddRange(eventsManager.GetReferencedAssemblies(
                                              Path.Combine(AssemblyPath, AssemblyName) + "." + CommonPlatformConsts.CUSTOM_BINARY_EXTENSION));
        }
        public EventAssemblyInfo(
            string assemblyPath,
            string assemblyName,
            TisEventsManager eventsManager,
            string customizationDir)
        {
            AssemblyName = assemblyName;
            AssemblyPath = assemblyPath;

            ReferencedAssemblies = new List <string>();

            if (!StringUtil.IsStringInitialized(assemblyPath))
            {
                AssemblyPath = customizationDir;
            }

            try
            {
                ObtainReferencedAssemblies(eventsManager);
            }
            catch (Exception exc)
            {
                Log.WriteWarning("Failed to obtain referenced assemblies for assembly [{0}]. Details : [{1}]", Path.Combine(AssemblyPath, AssemblyName), exc.Message);
            }
        }