예제 #1
0
        private PathDescriptor BuildFullPath(IConfigurationFileDescriptor fileDescriptor, PathDescriptor rootFolder, SkinCode skinCode, ABTestCase abTest)
        {
            PathDescriptor relativeFilePath = null;

            if (abTest != null)
            {
                relativeFilePath = abTest.GetOverrideFileOrNull(fileDescriptor, skinCode);
            }

            if (relativeFilePath == null)
            {
                relativeFilePath = fileDescriptor.GetRelativePath(skinCode);
            }


            return(rootFolder + relativeFilePath);
        }
예제 #2
0
 private PathDescriptor ApplyAbTestCase(ABTestCase abTest, PathDescriptor path)
 {
     return(abTest?.GetOverrideFileOrNull(path, _skinCode)
            ?? path);
 }