public bool ContainsInterface(string qualifiedName) { if (Super.Name != "Object") { ASInstance superInstance = ABC.GetFirstInstance(Super.Name); if (superInstance.ContainsInterface(qualifiedName)) { return(true); } } foreach (ASMultiname @interface in GetInterfaces()) { if (@interface.Name != qualifiedName) { continue; } return(true); } return(false); }
public int AddClass(ASClass @class, ASInstance instance, bool recycle = true) { AddValue(Classes, @class, recycle); return(AddValue(Instances, instance, recycle)); }