* Price.cs:

* Service.cs:
* Price.cs:
* PhysicalProduct.cs: Billing

* SetPrice.cs: Billing


* MyClass.cs:
* ResultPages.cs:
* NpgsqlRoleProvider.cs:
* NpgsqlProfileProvider.cs:
* NpgsqlMembershipProvider.cs: xml doc

* SalesCatalog.csproj: cleanning

* YavscModel.csproj: coding policies
This commit is contained in:
Paul Schneider
2015-02-18 17:34:26 +01:00
parent 6dfe83308e
commit 7b0dd0c1e2
11 changed files with 457 additions and 54 deletions

View File

@ -9,18 +9,31 @@ using Yavsc.Model.FrontOffice;
namespace Yavsc
{
/// <summary>
/// Main class.
/// </summary>
public class MainClass
{
/// <summary>
/// Gets or sets the service URL.
/// </summary>
/// <value>The service URL.</value>
public static string ServiceUrl{ get; set; }
/// <summary>
/// The entry point of the program, where the program control starts and ends.
/// </summary>
/// <param name="args">The command-line arguments.</param>
public static void Main(string [] args)
{
foreach (string s in args) {
if (Uri.IsWellFormedUriString (s,UriKind.Absolute)) {
// TODO create a client
// TODO create command usage
ServiceUrl = s;
break;
}
GetCatalog ();
}
GetCatalog ();
}
static HttpClient GetClient()
{
@ -56,7 +69,10 @@ namespace Yavsc
Console.WriteLine("{0} ({1})", (int)response.StatusCode, response.ReasonPhrase);
}
}
/// <summary>
/// Ups the load.
/// </summary>
/// <param name="fileName">File name.</param>
public void UpLoad(string fileName)
{
using (var client = GetClient())