2015-04-17 21:16:46 +00:00
|
|
|
|
|
|
|
|
2015-04-09 23:40:02 +00:00
|
|
|
{% block title %}
|
|
|
|
|
2015-04-23 20:31:03 +00:00
|
|
|
{{ obj.short_name }} {{ obj.type.title()}}
|
|
|
|
{{ "=" * (obj.short_name|length + obj.type|length + 1) }}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
2015-04-23 20:31:03 +00:00
|
|
|
.. dn:{{ obj.ref_type }}:: {{ obj.name }}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
2015-04-17 21:16:46 +00:00
|
|
|
.. contents::
|
2015-04-24 17:10:36 +00:00
|
|
|
:local:
|
2015-04-17 21:16:46 +00:00
|
|
|
|
2015-04-09 23:40:02 +00:00
|
|
|
{% block summary %}
|
2015-04-23 20:31:03 +00:00
|
|
|
{%- if obj.summary %}
|
2015-04-09 23:40:02 +00:00
|
|
|
Summary
|
|
|
|
-------
|
|
|
|
|
2015-04-23 20:31:03 +00:00
|
|
|
{{ obj.summary }}
|
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 inheritance %}
|
2015-04-23 20:31:03 +00:00
|
|
|
{%- if obj.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-23 20:31:03 +00:00
|
|
|
{%- if obj.example %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
Syntax
|
|
|
|
------
|
|
|
|
|
|
|
|
.. code-block:: csharp
|
|
|
|
|
2015-04-23 20:31:03 +00:00
|
|
|
{{ obj.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) %}
|
2015-04-23 20:31:03 +00:00
|
|
|
{%- if item_type in obj.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-23 20:31:03 +00:00
|
|
|
{%- for obj_item in obj.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 %}
|
|
|
|
|
2015-04-23 20:31:03 +00:00
|
|
|
{%- for item_type in obj.item_map.keys() %}
|
2015-04-15 02:55:46 +00:00
|
|
|
{{ display_type(item_type) }}
|
|
|
|
{%- endfor %}
|
2015-04-09 23:40:02 +00:00
|
|
|
|
|
|
|
{% endblock %}
|