Removed some unused methods

This commit is contained in:
Michael L Smith 2016-03-10 20:25:40 -08:00
parent 977f7d4b79
commit f2f2540741
2 changed files with 1 additions and 22 deletions

View File

@ -42,14 +42,6 @@ namespace OSCADSharp.Bindings
this.bindings.Add<BindableBoolean>(this, property, stringifiedVar); this.bindings.Add<BindableBoolean>(this, property, stringifiedVar);
} }
public BindableBoolean Clone()
{
var clone = new BindableBoolean(this.boundProperty);
clone.bindings = this.bindings;
return clone;
}
public override string ToString() public override string ToString()
{ {
return this.bindings.Get(this.boundProperty).BoundVariable.Text; return this.bindings.Get(this.boundProperty).BoundVariable.Text;

View File

@ -17,10 +17,6 @@ namespace OSCADSharp.Scripting
private Bindings.Bindings bindings = null; private Bindings.Bindings bindings = null;
private IBindings ibindings = null; private IBindings ibindings = null;
internal StatementBuilder()
{
}
internal StatementBuilder(Bindings.Bindings bindings) internal StatementBuilder(Bindings.Bindings bindings)
{ {
this.bindings = bindings; this.bindings = bindings;
@ -78,15 +74,6 @@ namespace OSCADSharp.Scripting
SB.Append(text); SB.Append(text);
} }
/// <summary>
/// Pass-through for StringBuilder.AppendLine
/// </summary>
/// <param name="text"></param>
public void AppendLine(string text)
{
SB.AppendLine(text);
}
/// <summary> /// <summary>
/// Gets this builder's full string /// Gets this builder's full string
/// </summary> /// </summary>