Driver.SoapContextDriver.GetHistoryPath()

Here are the examples of the csharp api class Driver.SoapContextDriver.GetHistoryPath() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: linqpad-soap-driver
Source File: SoapContextDriver.cs
public override bool ShowConnectionDialog(IConnectionInfo connectionInfo, bool isNewConnection)
		{
			var model = new ConnectionModel(connectionInfo,
				new ConnectionHistoryReader(GetHistoryPath()).Read());
			return new Dialog(model).ShowDialog() == true;
		}

2. Example

Project: linqpad-soap-driver
Source File: SoapContextDriver.cs
public override List<ExplorerItem> GetSchemaAndBuildAssembly(IConnectionInfo connectionInfo, AssemblyName assemblyToBuild, ref string nameSpace, ref string typeName)
		{
			var model = new ConnectionModel(connectionInfo);
			var proxy = new ProxyBuilder(model.Uri)
				.Build(assemblyToBuild, nameSpace);

			var schema = new SchemaBuilder()
				.Build(proxy.Description, model.BindingName, proxy.Assembly);

			nameSpace = proxy.Namespace;
			typeName = schema.TypeName;

			new ConnectionHistoryWriter(GetHistoryPath())
				.Append(model.Uri);

			return schema.Entities;
		}