Ejemplo n.º 1
0
        /// <summary>
        /// Returns the full qualified name of the unit.
        /// </summary>
        /// <returns>Full qualified unit name</returns>
        public string ToQualifiedString()
        {
            string encodedApplicationName = UnitNameEncoder.Encode(ApplicationFragment);
            string encodedVersion         = UnitVersionEncoder.Encode(VersionFragment);
            string encodedUseCaseName     = UnitNameEncoder.Encode(UseCaseFragment);
            string encodedScenarioName    = UnitNameEncoder.Encode(ScenarioFragment);
            string fullName = string.Format("{0}{4}{1}{4}{2}{4}{3}",
                                            encodedApplicationName, encodedVersion, encodedUseCaseName, encodedScenarioName, Separator);

            return(fullName);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Returns the encoded form of the <see cref="ScenarioFragment"/>.
 /// </summary>
 /// <returns>Encoded form of the <see cref="ScenarioFragment"/></returns>
 public string GetEncodedScenarioName()
 {
     return(UnitNameEncoder.Encode(ScenarioFragment));
 }