예제 #1
0
        public ResolverTypeDeclaration(IDotNetTypeResolver resolver, string assemblyQualifiedName)
            : base(resolver)
        {
            string name, @namespace, assembly;

            ParseName(assemblyQualifiedName, out name, out @namespace, out assembly);
            Name          = name;
            Namespace     = @namespace;
            this.assembly = assembly;
        }
예제 #2
0
        public TypeDeclaration(XmlBamlReader reader, IDotNetTypeResolver resolver, string name, string namespaceName, short assemblyId)
        {
            this.reader     = reader;
            this.resolver   = resolver;
            this.Name       = name;
            this.Namespace  = namespaceName;
            this.AssemblyId = assemblyId;

            if (!_isExtension)
            {
                _isExtension = name.EndsWith("Extension");
            }
        }
예제 #3
0
 public TypeDeclaration(IDotNetTypeResolver resolver, string name, string namespaceName, short assemblyId, bool isExtension)
     : this(null, resolver, name, namespaceName, assemblyId)
 {
     _isExtension = isExtension;
 }
예제 #4
0
 public TypeDeclaration(IDotNetTypeResolver resolver, string name, string enclosingTypeName, string namespaceName, short assemblyId)
     : this(null, resolver, name, namespaceName, assemblyId)
 {
     this.EnclosingTypeName = enclosingTypeName;
 }
예제 #5
0
 protected TypeDeclaration(IDotNetTypeResolver resolver)
 {
     this.resolver = resolver;
 }