CCNet.ProjectChecker.Program.Main C# (CSharp) Метод

Main() публичный статический Метод

Main program.
public static Main ( string args ) : int
args string
Результат int
		public static int Main(string[] args)
		{
			/*xxxargs = new[]
			{
				@"ProjectName=GuidedSellingAdmin",
				@"ReferencesDirectory=\\rufrt-vxbuild\d$\CCNET\GuidedSellingAdmin\References",
				@"WorkingDirectorySource=\\rufrt-vxbuild\d$\CCNET\GuidedSellingAdmin\WorkingDirectory\Source",
				@"ExternalReferencesPath=\\rufrt-vxbuild\ExternalReferences",
				@"InternalReferencesPath=\\rufrt-vxbuild\InternalReferences",
				@"ProjectType=WebSite",
				@"AssemblyName=GuidedSellingAdmin",
				@"FriendlyName=UNSPECIFIED",
				@"DownloadZone=UNSPECIFIED",
				@"VisualStudioVersion=2010",
				@"TargetFramework=UNSPECIFIED",
				@"TargetPlatform=AnyCPU",
				@"RootNamespace=GuidedSellingAdmin",
				@"SuppressWarnings=",
				@"AllowUnsafeBlocks=False",
				@"ExpectedVersion=UNSPECIFIED"
			};*/

			if (args == null || args.Length == 0)
			{
				DisplayUsage();
				return 0;
			}

			try
			{
				Arguments.Default = ArgumentProperties.Parse(args);
				PerformChecks();
			}
			catch (Exception e)
			{
				return ErrorHandler.Runtime(e);
			}

			return RaiseError.ExitCode;
		}