Exemple #1
0
        internal static JsonLinkTypeEnd GetInstance([CallerMemberName] string callerName = "")
        {
            var json = new JObject();

            JsonSource(ref json);
            JsonLinkTypeEnd instance = JsonLinkTypeEnd.FromToken(json);

            InstanceFactory(ref instance, callerName);
            return(instance);
        }
Exemple #2
0
 public void ImmutableName_UnitTest()
 {
     ExecuteProperty(
         () =>
         // Create Test Instance
     {
         JsonLinkTypeEnd instance = GetInstance();
         return(instance);
     },
         null, null, null, // No Set Accessor
         // Invoke Getter
         instance => { return(instance.ImmutableName); },
         // Validate Get Operation
         (instance, setValue, getValue) => { });
 }
Exemple #3
0
        public void FromToken_UnitTest()
        {
            JObject         token   = default(JObject);
            JsonLinkTypeEnd _retVal = default(JsonLinkTypeEnd);

            ExecuteMethod(
                () => { return(GetInstance()); },
                instance =>
            {
                token = new JObject();
                FromToken_PreCondition(instance, ref token);
            },
                instance => { return(_retVal = JsonLinkTypeEnd.FromToken(token)); },
                instance => { FromToken_PostValidate(instance, token, _retVal); });
        }
Exemple #4
0
 partial void ToString_PreCondition(JsonLinkTypeEnd instance);
Exemple #5
0
 partial void ToString_PostValidate(JsonLinkTypeEnd instance, String _retVal);
Exemple #6
0
 partial void JsonValue_SetCondition(ref JsonLinkTypeEnd instance, ref JToken setValue);
Exemple #7
0
 static partial void InstanceFactory(ref JsonLinkTypeEnd instance, [CallerMemberName] string callerName = "");
Exemple #8
0
 partial void ImmutableName_SetCondition(ref JsonLinkTypeEnd instance, ref String setValue);
Exemple #9
0
 partial void GetType_PreCondition(JsonLinkTypeEnd instance);
Exemple #10
0
 partial void CaptureJson_PreCondition(JsonLinkTypeEnd instance, ref JToken token);
        static partial void InstanceFactory(ref JsonLinkTypeEnd instance, string callerName)
        {
            var token = new JObject();

            instance = JsonLinkTypeEnd.FromToken(token);
        }
Exemple #12
0
 partial void GetHashCode_PostValidate(JsonLinkTypeEnd instance, Int32 _retVal);
Exemple #13
0
 partial void FromToken_PreCondition(JsonLinkTypeEnd instance, ref JObject token);
Exemple #14
0
 partial void FromToken_PostValidate(JsonLinkTypeEnd instance, JObject token, JsonLinkTypeEnd _retVal);
Exemple #15
0
 partial void Equals_PreCondition(JsonLinkTypeEnd instance, ref Object obj);
Exemple #16
0
 partial void Equals_PostValidate(JsonLinkTypeEnd instance, Object obj, Boolean _retVal);
Exemple #17
0
 partial void GetType_PostValidate(JsonLinkTypeEnd instance, Type _retVal);
 partial void LinkTypeEnd_SetCondition(ref JsonRelatedLink instance, ref JsonLinkTypeEnd setValue);
Exemple #19
0
 partial void CaptureJson_PostValidate(JsonLinkTypeEnd instance, JToken token);