Mercurial > pub > ImplabNet
view Implab.ServiceHost/Unity/RootTypeReference.cs @ 281:e0916ddc9950 v3 tip
code cleanup and refactoring
author | cin |
---|---|
date | Fri, 01 Jun 2018 21:35:24 +0300 |
parents | 6691aff01de1 |
children |
line wrap: on
line source
using System; namespace Implab.ServiceHost.Unity { public class RootTypeReference : TypeReference { readonly string m_name; readonly string m_namespace; readonly int m_genericParametersCount; public override string Name { get { return m_name; } } public override string Namespace { get { return m_namespace; } } public override int GenericParametersCount { get { return m_genericParametersCount; } } internal RootTypeReference(string ns, string name, int genericParameters) { m_name = name; m_genericParametersCount = genericParameters; m_namespace = ns; } internal override void Visit(TypeResolutionContext visitor) { visitor.Visit(this); } } }