This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
/* Sample | |
class MainClass | |
{ | |
public static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Property $name$ | |
private $type$ m_$name$= $value$; | |
public $type$ $name$ | |
{ | |
get | |
{ | |
return m_$name$; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>propf</Title> | |
<Shortcut>propf</Shortcut> | |
<Description>Code snippet for property and backing field with region and init value</Description> | |
<Author>Microsoft Corporation</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.ComponentModel; | |
namespace EifelMono.Core | |
{ | |
// [Obsolete ("Property is deprecated please use Property instead.")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.ComponentModel; | |
namespace EifelMono.Core | |
{ | |
// [Obsolete ("Property is deprecated please use Property instead.")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
procedure FindInitializationAndCall; | |
var | |
nameSpace: string; | |
foundName: string; | |
helperType: System.Type; | |
begin | |
for helperType in Assembly.GetExecutingAssembly.GetTypes do | |
begin | |
nameSpace:= helperType.Namespace; | |
if Assigned(nameSpace) then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection; | |
namespace Utils | |
{ | |
[AttributeUsage(AttributeTargets.Method)] | |
public sealed class InitializationAttribute : Attribute | |
{ | |
public InitializationAttribute() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this | |
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | |
to the frist | |
<PropertyGroup> | |
: | |
: | |
<PropertyGroup> | |
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | |
: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
namespace EifelMono | |
{ | |
public interface IInstance<T> | |
{ | |
T Instance { get; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
namespace EifelMono | |
{ | |
public class Instance<T> | |
{ | |
public Instance() | |
{ |
OlderNewer