<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
	<CodeSnippet Format="1.0.0">
		<Header>
			<Title>invoke</Title>
			<Shortcut>invoke</Shortcut>
			<Description>Fragmento de código para invocar a un evento de forma segura</Description>
			<Author>Microsoft Corporation</Author>
			<SnippetTypes>
				<SnippetType>Expansion</SnippetType>
			</SnippetTypes>
		</Header>
		<Snippet>
			<Declarations>
				<Literal>
					<ID>event</ID>
					<Default>MyEvent</Default>
					<ToolTip>Método de evento que se va a invocar</ToolTip>
				</Literal>
				<Literal>
					<ID>DelegateType</ID>
					<Default>EventHandler</Default>
					<ToolTip>Tipo delegado</ToolTip>
				</Literal>
			</Declarations>
			<Code Language="csharp"><![CDATA[$DelegateType$ temp = $event$;
if (temp != null)
{
temp($end$);
}]]>
			</Code>
		</Snippet>
	</CodeSnippet>
</CodeSnippets>
