Skip to content

Commit b0954d3

Browse files
authored
typos + space fixes (#4129)
1 parent 9ff05d7 commit b0954d3

File tree

100 files changed

+109
-109
lines changed

Some content is hidden

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

100 files changed

+109
-109
lines changed

samples/snippets/cpp/VS_Snippets_CLR/EntryWrittenEventArgs_ctor1/CPP/entrywritteneventargs_ctor1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
The following example demonstrates 'EntryWrittenEventArgs ()'
55
constructor of the 'EntryWrittenEventArgs' class. It creates a custom 'EventLog'
66
and writes an entry into it. Then creates an 'EntryWrittenEventArgs' Object*
7-
using the first entry in the custom eventlog.This Object* is used to notify a message
7+
using the first entry in the custom eventlog. This Object* is used to notify a message
88
*/
99

1010
// <Snippet1>

samples/snippets/cpp/VS_Snippets_CLR/EntryWrittenEventArgs_ctor2/CPP/entrywritteneventargs_ctor2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The following example demonstrates the 'Entry' property and EntryWrittenEventArgs (EventLogEntry)
66
constructor of the 'EntryWrittenEventArgs' class. It creates a custom 'EventLog' and writes an
77
entry into it. Then creates an 'EntryWrittenEventArgs' Object* using the first entry in the custom
8-
eventlog.This Object* is used to notify a message
8+
eventlog. This Object* is used to notify a message
99
*/
1010

1111
// <Snippet1>

samples/snippets/cpp/VS_Snippets_CLR/EnumBuilder_SetCustomAttribute1/CPP/enumbuilder_setcustomattribute1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
its methods 'IsDefined', 'GetCustomAttributes(Type, bool)' and
99
'SetCustomAttribute(CustomAttributeBuilder)'. It defines a 'MyAttribute'
1010
class which is derived from 'System.Attribute' class. It builds an Enum
11-
and sets 'MyAttribute' as custom attribute to the Enum.It gets the
11+
and sets 'MyAttribute' as custom attribute to the Enum. It gets the
1212
custom attributes of the Enum type and displays its contents on the console.
1313
*/
1414
// <Snippet1>

samples/snippets/cpp/VS_Snippets_CLR/FieldBuilder_SetCustomAttributes/CPP/fieldbuilder_setcustomattributes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
A dynamic assembly is created. A new class of type 'MyClass' is created.
88
A 'Method' and a 'Field are defined in the class.Two 'CustomAttributes' are
99
set to the field.The method initializes a value to 'Field'.Value of the field
10-
is displayed to console.Values of Attributes applied to field are retreived and
10+
is displayed to console.Values of Attributes applied to field are retrieved and
1111
displayed to console.
1212
*/
1313
// <Snippet1>

samples/snippets/cpp/VS_Snippets_CLR/Process_StandardError/CPP/source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The following example demonstrates property 'StandardError' of
44
'Process' class.
55
66
It starts a process(net.exe) which writes an error message on to the standard
7-
error when a bad network path is given.This program gets 'StandardError' of
7+
error when a bad network path is given. This program gets 'StandardError' of
88
net.exe process and reads output from its stream reader.*/
99

1010
#using <System.dll>

samples/snippets/cpp/VS_Snippets_CLR/ServiceController/CPP/servicecontroller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ namespace ServiceControllerSample
306306
Console::WriteLine( " Display name: {0}", scTemp->DisplayName );
307307

308308
// Query WMI for additional information about this service.
309-
// Display the start name (LocalSytem, etc) and the service
309+
// Display the start name (LocalSystem, etc) and the service
310310
// description.
311311
ManagementObject^ wmiService;
312312
String^ objPath;

samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.XML-XMLDsigDetached/CPP/xmldsigdetach.cpp

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

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

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

samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.XML.DSAKeyValue_Detached/CPP/exampledetached.cpp

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

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

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

samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.XML.KeyInfoX509Data_Detached/CPP/examplecreatedetached.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 resource and save the signature in an XML file.
9090
SignDetachedResource( resourceToSign, XmlFileName, Key, Certificate );
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
catch ( CryptographicException^ e )
9494
{

samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.XML.SignedXML_CheckReturnValue_Detached/CPP/exampledetached.cpp

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

127127
// Sign the detached resourceand save the signature in an XML file.
128128
SignDetachedResource( resourceToSign, XmlFileName, DSAKey );
129-
Console::WriteLine( "XML signature was succesfully computed and saved to {0}.", XmlFileName );
129+
Console::WriteLine( "XML signature was successfully computed and saved to {0}.", XmlFileName );
130130

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

0 commit comments

Comments
 (0)