Esempio n. 1
0
        /// <summary>
        /// Signals that all attributes have been loaded.
        /// </summary>
        void IModifiableAttributeProvider.AttributesLoaded()
        {
            var signatureAttributes = Attributes.OfType <SignatureAttribute>();

            signature = signatureAttributes.Select(x => Signatures.ParseClassSignature(x.Value)).SingleOrDefault() ??
                        new ClassSignature(null, null, SuperClass, Interfaces);
        }
Esempio n. 2
0
 /// <summary>
 /// Override the signature
 /// </summary>
 public void SetSignature(string value)
 {
     if (value == null)
     {
         return;
     }
     signature = Signatures.ParseClassSignature(value);
 }