GetApplicationFolder() 공개 정적인 메소드

public static GetApplicationFolder ( ) : String
리턴 String
        //*************************************************************************
        //  Constructor: GraphMetricCalculationManager()
        //
        /// <summary>
        /// Initializes a new instance of the <see
        /// cref="GraphMetricCalculationManager" /> class.
        /// </summary>
        //*************************************************************************

        public GraphMetricCalculationManager()
        {
            m_oBackgroundWorker = null;

            // Set the path to the executable that calculates graph metrics using
            // the SNAP library.

            GraphMetricCalculatorBase.SetSnapGraphMetricCalculatorPath(
                Path.Combine(ApplicationUtil.GetApplicationFolder(),
                             GraphMetricCalculatorBase
                             .DefaultSnapGraphMetricCalculatorFileName));

            AssertValid();
        }
예제 #2
0
        AddBuiltInGraphDataProviders
        (
            List <Object> oGraphDataProviders
        )
        {
            Debug.Assert(oGraphDataProviders != null);

            String sGraphDataProvidersFilePath = Path.Combine(
                ApplicationUtil.GetApplicationFolder(), GraphDataProvidersFileName);

            if (File.Exists(sGraphDataProvidersFilePath))
            {
                AddGraphDataProvidersFromFile(
                    sGraphDataProvidersFilePath, oGraphDataProviders);
            }
        }