public static string ToNative(this StructuralBridgeAlignment alignment) { return(new GSABridgeAlignment() { Value = alignment }.SetGWACommand()); }
public static string ToNative(this StructuralBridgeAlignment alignment) { return(SchemaConversion.Helper.ToNativeTryCatch(alignment, () => new GSABridgeAlignment() { Value = alignment }.SetGWACommand())); }
public void ParseGWACommand() { if (this.GWACommand == null) { return; } var obj = new StructuralBridgeAlignment(); var pieces = this.GWACommand.ListSplit("\t"); var counter = 1; // Skip identifier this.GSAId = Convert.ToInt32(pieces[counter++]); obj.ApplicationId = Helper.GetApplicationId(this.GetGSAKeyword(), this.GSAId); obj.Name = pieces[counter++].Trim(new char[] { '"' }); //TO DO this.Value = obj; }