예제 #1
0
        public override string StartType(TypeInfo type, bool showAttributes, string attributes)
        {
            var objectType = GetObjectType();

            var staticObject = type.IsAbstract && type.IsSealed
                                   ? "<< static >> "
                                   : string.Empty;


            return(@$ "
{objectType} " "{DisplayName}" " as {TypeFullName.AsSlug()} 
{objectType} {TypeFullName.AsSlug()} {staticObject}{{" +
                   (showAttributes ? $"\n\t--- attributes ---\n{attributes}" : string.Empty));
        }