Esempio n. 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;
        }
Esempio n. 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");
            }
        }
Esempio n. 3
0
 public TypeDeclaration(IDotNetTypeResolver resolver, string name, string namespaceName, short assemblyId, bool isExtension)
     : this(null, resolver, name, namespaceName, assemblyId)
 {
     _isExtension = isExtension;
 }
Esempio n. 4
0
 public TypeDeclaration(IDotNetTypeResolver resolver, string name, string enclosingTypeName, string namespaceName, short assemblyId)
     : this(null, resolver, name, namespaceName, assemblyId)
 {
     this.EnclosingTypeName = enclosingTypeName;
 }
Esempio n. 5
0
 protected TypeDeclaration(IDotNetTypeResolver resolver)
 {
     this.resolver = resolver;
 }