Exemple #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);
        }
Exemple #2
0
 /// <summary>
 /// Override the signature
 /// </summary>
 public void SetSignature(string value)
 {
     if (value == null)
     {
         return;
     }
     signature = Signatures.ParseClassSignature(value);
 }
Exemple #3
0
 /// <summary>
 /// Override the signature
 /// </summary>
 public void SetSignature(string value)
 {
     if (value == null)
         return;
     signature = Signatures.ParseClassSignature(value);
 }
Exemple #4
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);
 }