Skip to content

Commit d5b3156

Browse files
authored
typos + space fixes - Part 2 (#4130)
* typos + space fixes * additional fixes * Update xmltypeattribute1_2.cs * Update filewebresponse_contentlength_contenttype.cpp * Update mimecontentbinding_part_4.cpp * Update mimepartcollection_8.cpp * Update webclient_baseaddress_responseheaders.cpp * Update arraytypemismatch_constructor1.cs * Update enumbuilder_setcustomattribute1.cs * Update fieldbuilder_setcustomattributes.cs * Update credentialcache_add_remove.cs * Update httpwebresponse_headers.cs * Update networkcredential_constructor2.cs * Update webrequest_begingetrequest.cs * Update httpbinding.cs * Update mimecontentbinding_part_4.cs * Update mimepartcollection_8.cs
1 parent 3dcdb26 commit d5b3156

File tree

98 files changed

+2000
-2000
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+2000
-2000
lines changed

samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXml.ComputeSig-Check-KeyedHash-Detached/CPP/xmldsigdetachedkeyedhashalg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ int main()
8888

8989
// Sign the detached resourceand save the signature in an XML file.
9090
SignDetachedResource( resourceToSign, XmlFileName, Key );
91-
Console::WriteLine( "XML signature was succesfully computed and saved to {0}.", XmlFileName );
91+
Console::WriteLine( "XML signature was successfully computed and saved to {0}.", XmlFileName );
9292

9393
// Verify the signature of the signed XML.
9494
Console::WriteLine( "Verifying signature..." );

samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.XML.XmlDsigC14NWithCommentsTransform_Detached/CPP/sampledetached.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ int main()
105105

106106
// Sign the detached resourceand save the signature in an XML file.
107107
SignDetachedResource( resourceToSign, XmlFileName, Key );
108-
Console::WriteLine( "XML signature was succesfully computed and saved to {0}.", XmlFileName );
108+
Console::WriteLine( "XML signature was successfully computed and saved to {0}.", XmlFileName );
109109

110110
// Verify the signature of the signed XML.
111111
Console::WriteLine( "Verifying signature..." );

samples/snippets/cpp/VS_Snippets_Remoting/BindingCollectionSample2/CPP/bindingcollectionsample2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ ref class MyClass
157157
soapPort->Extensions->Add( mySoapAddressBinding );
158158
// Add port to the MathService which is the first service in the Service Collection.
159159
myServiceDescription->Services->default[ 0 ]->Ports->Add( soapPort );
160-
// Save the ServiceDescripition instance to an external file.
160+
// Save the ServiceDescription instance to an external file.
161161
myServiceDescription->Write( "MathService_new.wsdl" );
162162
Console::WriteLine( "\nSuccessfully added bindings for SOAP protocol and saved results in file MathService_new.wsdl" );
163163
Console::WriteLine( "\n This file should be passed to wsdl tool as input to generate proxy" );

samples/snippets/cpp/VS_Snippets_Remoting/CredentialCache_Add_Remove/CPP/credentialcache_add_remove.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// System::Net::CredentialCache::Remove;System::Net::CredentialCache.
33

44
/*This program demontrates the 'Remove' method, 'Add' method and 'CredentialCache'
5-
constructor of the 'CredentialCache' class.It takes an URL creates a 'WebRequest' Object* for the Url.
5+
constructor of the 'CredentialCache' class. It takes an URL creates a 'WebRequest' Object* for the Url.
66
The program stores a known set of credentials in a credential cache and removes a credential when it
77
is no longer needed.
88
*/

samples/snippets/cpp/VS_Snippets_Remoting/CredentialCache_GetCredential/CPP/credentialcache_getcredential.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
// System::Net::CredentialCache::GetCredential
4-
/*This program demontrates the 'GetCredential' method of the CredentialCache class.It takes an URL
4+
/*This program demontrates the 'GetCredential' method of the CredentialCache class. It takes an URL
55
creates a 'WebRequest' Object* for the Url. The program stores a known set of credentials in a credential cache.
66
'GetCredential' will then retrieve the credentials for the requested Uri.
77
*/

samples/snippets/cpp/VS_Snippets_Remoting/FileWebResponse_ContentLength_ContentType/CPP/filewebresponse_contentlength_contenttype.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// System::Net::FileWebResponse::ContentLength;System::Net::FileWebResponse::ContentType.
22

3-
/* This program demonstrates the 'ContentLength' and 'ContentType' property of 'FileWebResponse' class.
4-
It creates a web request and queries for a response.It then prints the content length
3+
/* This program demonstrates the 'ContentLength' and 'ContentType' properties of the 'FileWebResponse' class.
4+
It creates a web request and queries for a response. It then prints the content length
55
and content type of the entity body in the response onto the console */
66

77
#using <System.dll>

samples/snippets/cpp/VS_Snippets_Remoting/FileWebResponse_Headers/CPP/filewebresponse_headers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// System::Net::FileWebResponse::Headers
22

33
/* This program demonstrates the 'Headers' property of the 'FileWebResponse' class.
4-
It creates a web request and queries for a response.It then prints [Out] all* the response
4+
It creates a web request and queries for a response. It then prints [Out] all* the response
55
headers (name -value pairs) onto the console. */
66

77
#using <System.dll>

samples/snippets/cpp/VS_Snippets_Remoting/FileWebResponse_ResponseUri/CPP/filewebresponse_responseuri.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// System::Net::FileWebResponse::ResponseUri
22

33
/* This program demonstrates the 'ResponseUri' property of the 'FileWebResponse' class.
4-
It creates a 'FileWebRequest' Object* and queries for a response.It then displays the Uri of the file
4+
It creates a 'FileWebRequest' Object* and queries for a response. It then displays the Uri of the file
55
system resource that provided the response.
66
*/
77

samples/snippets/cpp/VS_Snippets_Remoting/HttpWebRequest_ContentLength/CPP/httpwebrequest_contentlength.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ int main()
2323
{
2424
try
2525
{
26-
// Create a new WebRequest Object to the mentione Uri.
26+
// Create a new WebRequest Object to the mentioned Uri.
2727
HttpWebRequest^ myHttpWebRequest = (HttpWebRequest^)( WebRequest::Create( "http://www.contoso.com/codesnippets/next.asp" ) );
2828

2929
Console::WriteLine( "\nThe value of 'ContentLength' property before sending the data is {0}", myHttpWebRequest->ContentLength );

samples/snippets/cpp/VS_Snippets_Remoting/HttpWebRequest_PipeLined/CPP/httpwebrequest_pipelined.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*Sytem::Net.HttpWebRequest::PipeLined
1+
/*System::Net.HttpWebRequest::PipeLined
22
This program demonstrates 'Pipelined' property of the 'HttpWebRequest' class.
33
A new 'HttpWebRequest' Object* is created. The 'Pipelined' property is displayed to the console.
44
HTTP Request and Response Headers are displayed to the console. The contents of the page of the

0 commit comments

Comments
 (0)