Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created July 18, 2015 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/0c211683f5d5d90d9821 to your computer and use it in GitHub Desktop.
Save Fhernd/0c211683f5d5d90d9821 to your computer and use it in GitHub Desktop.
Generación de IDs para referenciar tipos y miembros.
// OrtizOL - xCSw - http://ortizol.blogspot.com
namespace NS
{
/// T:NS.Clase
class Clase
{
/// F:NS.Clase.campo
string campo;
/// P:NS.Clase.Propiedad
string Propiedad
{
get { ... }
set { ... }
}
/// T:NS.Clase.TipoAnidado
class TipoAnidado { ... };
/// M:NS.Clase.MetodoA()
void MetodoA() { ... }
/// M:NS.Clase.MetodoB(System.Int32,System.Double@,System.Decimal@)
void MetodoB(int p1, ref double p2, out decimal p3) { ... }
/// M:NS.Clase.MetodoC(System.Char[ ],System..Single[0:,0:])
void MetodoC(char[ ] p1, float[,] p2) { ... }
/// M:NS.Clase.op_Addition(NS.Clase,NS.Clase)
public static Clase operator+(Clase c1, Clase c2) { ... }
/// M:NS.Clase.op_Implicit(NS.Clase)~System.Int32
public static implicit operator int(Clase c) { ... }
/// M:NS.Clase.#ctor
Clase() { ... }
/// M:NS.Clase.Finalize
~Clase() { ... }
/// M:NS.Clase.#cctor
static Clase() { ... }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment