Beispiel #1
0
 internal ComparerResultItem(
     ComparerResultItemType Type, MetaObject MtObject, string ObjectName,
     ObjectType ObjectType, string ParentName)
 {
     this.Type       = Type;
     this.MtObject   = MtObject;
     this.ObjectName = ObjectName;
     this.ObjectType = ObjectType;
     this.ParentName = ParentName;
 }
Beispiel #2
0
        internal string GetScript(ComparerResultItemType type)
        {
            switch (type)
            {
            case ComparerResultItemType.Different:
                return(GetDifferentScript());

            case ComparerResultItemType.Equal:
                return("");

            case ComparerResultItemType.Missing:
                return(GetMissingScript());

            case ComparerResultItemType.Extra:
                return(GetExtraScript());

            default:
                // all options covered, this one just so the compiler doesn't cry.
                return("");
            }
        }