예제 #1
0
        public IodineTypeDefinition(string name)
            : base(TypeDefinition)
        {
            Name = name;

            Attributes ["__name__"] = new InternalIodineProperty(vm => new IodineString(name), null);
        }
예제 #2
0
 public void SetDocumentation(params string[] args)
 {
     Attributes ["__doc__"] = new InternalIodineProperty(vm => {
         return(new IodineString(string.Join("\n", args)));
     }, null);
 }