2015-04-17 21:16:46 +00:00
|
|
|
|
|
|
|
|
2015-04-09 23:40:02 +00:00
|
|
|
{% block title %}
|
|
|
|
|
2015-04-14 23:54:43 +00:00
|
|
|
{{ object.short_name }} {{ object.type.title()}}
|
|
|
|
{{ "=" * (object.short_name|length + object.type|length + 1) }}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-04-15 01:05:15 +00:00
|
|
|
.. dn:{{ object.ref_type }}:: {{ object.name }}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
2015-04-17 21:16:46 +00:00
|
|
|
.. contents::
|
|
|
|
|
2015-04-09 23:40:02 +00:00
|
|
|
{% block summary %}
|
2015-04-15 02:55:46 +00:00
|
|
|
{%- if object.summary %}
|
2015-04-09 23:40:02 +00:00
|
|
|
Summary
|
|
|
|
-------
|
|
|
|
|
|
|
|
{{ summary }}
|
|
|
|
|
2015-04-15 02:55:46 +00:00
|
|
|
{%- endif %}
|
2015-04-09 23:40:02 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block inheritance %}
|
2015-04-15 02:55:46 +00:00
|
|
|
{%- if object.inheritance %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
Inheritance Hierarchy
|
|
|
|
---------------------
|
|
|
|
|
2015-04-15 02:55:46 +00:00
|
|
|
{%- for item in inheritance %}
|
|
|
|
* :dn:{{ item.ref_directive }}:`{{ item.id }}`
|
|
|
|
{%- endfor %}
|
|
|
|
{%- endif %}
|
2015-04-09 23:40:02 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block syntax %}
|
2015-04-15 02:55:46 +00:00
|
|
|
{%- if object.example %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
Syntax
|
|
|
|
------
|
|
|
|
|
|
|
|
.. code-block:: csharp
|
|
|
|
|
2015-04-15 02:55:46 +00:00
|
|
|
{{ example }}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-04-15 02:55:46 +00:00
|
|
|
{%- endif %}
|
2015-04-09 23:40:02 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
2015-04-15 02:55:46 +00:00
|
|
|
{%- macro display_type(item_type) %}
|
|
|
|
{%- if item_type in item_map %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-04-15 02:55:46 +00:00
|
|
|
{{ item_type.title() }}
|
|
|
|
{{ "-" * item_type|length }}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-04-15 02:55:46 +00:00
|
|
|
{%- for obj_item in item_map.get(item_type, []) %}
|
2015-04-09 23:40:02 +00:00
|
|
|
{% macro render() %}{{ obj_item.render() }}{% endmacro %}
|
|
|
|
{{ render()|indent(0) }}
|
2015-04-15 02:55:46 +00:00
|
|
|
{%- endfor %}
|
|
|
|
{%- endif %}
|
|
|
|
{%- endmacro %}
|
|
|
|
|
|
|
|
{%- for item_type in ['constructor', 'method', 'field', 'property',
|
|
|
|
'event', 'operator'] %}
|
|
|
|
{{ display_type(item_type) }}
|
|
|
|
{%- endfor %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
{% endblock %}
|