Skip to content

Commit 3b34d38

Browse files
committed
Typos
1 parent a245c99 commit 3b34d38

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

src/Typewriter/DocAnnotationWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ internal async static Task<string> ApplyAnnotationsToCsdl(Options options, strin
9595
Formats = MetadataFormat.EdmxInput
9696
};
9797

98-
// We only intend to ues the source metadata when we don't pass in a CSDL.
98+
// We only intend to use the source metadata when we don't pass in a CSDL.
9999
if (string.IsNullOrEmpty(pathToCleanMetadata))
100100
csdlWriterOptions.SourceMetadataPath = options.Metadata;
101101
else

src/Typewriter/Program.cs

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private static void GenerateSDK(Options options)
4545
break;
4646
}
4747

48-
stopwatch.Stop();
48+
stopwatch.Stop();
4949
Logger.Info($"Generation time: {stopwatch.Elapsed } seconds.");
5050
}
5151

@@ -88,25 +88,5 @@ private static void HandleError(IEnumerable<Error> errors)
8888
Console.Write(item.ToString());
8989
}
9090
}
91-
92-
/// <summary>
93-
/// Generates code files from an edmx file.
94-
/// </summary>
95-
/// <param name="edmxString">The EDMX file as a string.</param>
96-
/// <param name="targetLanguage">Specifies the target language. Possible values are csharp, php, etc.</param>
97-
/// <returns></returns>
98-
//static private IEnumerable<TextFile> MetadataToClientSource(string edmxString, string targetLanguage)
99-
//{
100-
// if (String.IsNullOrEmpty(edmxString))
101-
// throw new ArgumentNullException("edmxString", "The EDMX file string contains no content.");
102-
103-
// var reader = new OdcmReader();
104-
// var writer = new TemplateWriter(targetLanguage);
105-
// writer.SetConfigurationProvider(new ConfigurationProvider());
106-
107-
// var model = reader.GenerateOdcmModel(new List<TextFile> { new TextFile("$metadata", edmxString) });
108-
109-
// return writer.GenerateProxy(model);
110-
//}
11191
}
11292
}

0 commit comments

Comments
 (0)