private static void InitializeForce(string currentFolder)
        {
            LogoWriter.Write();
            IContractorOptions options = ContractorDefaultOptionsFinder.FindDefaultOptions(currentFolder);

            Initialize(currentFolder, options);
        }
        private static void Initialize(string currentFolder)
        {
            LogoWriter.Write();
            IContractorOptions options = InitializeOptions(currentFolder);

            Initialize(currentFolder, options);
        }
示例#3
0
        public static void WriteHelp()
        {
            LogoWriter.Write();
            System.Console.WriteLine(
                @"Commands:
contractor init [-y]
contractor add domain Bankwesen
contractor add entity Bankwesen.Bank:Banken [-s|--scope Mandant:Mandanten]
contractor add property string:256 Name -e Bankwesen.Bank:Banken [-o|--optional]
contractor add relation 1:n Bankwesen.Bank:Banken Kundenstamm.Kunde:Kunden [-n|--alternative-property-names Vertragsbank:Vertragskunden]
            ");
        }
示例#4
0
        static void Main()
        {
            var n = int.Parse(Console.ReadLine());

            if (n % 2 == 0 || n < 2 || n > 10000)
            {
                throw new ArgumentException("Thickness (N) should be odd number between 2 and 10000!");
            }
            var designer = new MMLogoDesigner(n);
            var mmLogo   = new Logo(designer);
            var writer   = new LogoWriter('*', '-');

            writer.WriteLogo(Console.Out, mmLogo);
        }