コード例 #1
0
        protected override void OnPropertyDeserialized(string name, object value, IReferenceResolver resolver)
        {
            switch (name)
            {
            case "className":
                ClassName = (string)value;
                break;

            case "superclassName":
                SuperclassName = (string)value;
                break;

            case "actions":
                Actions = (NSMutableDictionary)value;
                break;

            case "outlets":
                Outlets = (NSMutableDictionary)value;
                break;

            case "sourceIdentifier":
                SourceIdentifier = new Unref <IBClassDescriptionSource> (value);
                break;

            case "toOneOutletInfosByName":
                ToOneOutletInfosByName = (NSMutableDictionary)value;
                break;

            case "actionInfosByName":
                ActionInfosByName = (NSMutableDictionary)value;
                break;

            default:
                base.OnPropertyDeserialized(name, value, resolver);
                break;
            }
        }
コード例 #2
0
		protected override void OnPropertyDeserialized (string name, object value, IReferenceResolver resolver)
		{
			switch (name) {
			case "className":
				ClassName = (string) value;
				break;
			case "superclassName":
				SuperclassName = (string) value;
				break;
			case "actions":
				Actions = (NSMutableDictionary) value;
				break;
			case "outlets":
				Outlets = (NSMutableDictionary) value;
				break;
			case "sourceIdentifier":
				SourceIdentifier = new Unref<IBClassDescriptionSource> (value);
				break;
			case "toOneOutletInfosByName":
				ToOneOutletInfosByName = (NSMutableDictionary) value;
				break;
			case "actionInfosByName":
				ActionInfosByName = (NSMutableDictionary) value;
				break;
			default:
				base.OnPropertyDeserialized (name, value, resolver);
				break;
			}
		}