示例#1
0
 internal Field(ModelSupport.ContentTypeInternal ContentTypeInternal, MessageDelimiters CustomDelimiters, bool Temporary, int?Index, ContentBase Parent)
     : base(CustomDelimiters)
 {
     _Temporary          = Temporary;
     _Index              = Index;
     _Parent             = Parent;
     _ComponentDictonary = ParseFieldRawStringToComponent(string.Empty, ContentTypeInternal);
 }
示例#2
0
        //Only internal Constructors
        internal Field(string StringRaw, MessageDelimiters CustomDelimiters, bool Temporary, int?Index, ContentBase Parent)
            : base(CustomDelimiters)
        {
            _Temporary = Temporary;
            _Index     = Index;
            _Parent    = Parent;

            if (ValidateStringRaw(StringRaw))
            {
                _ComponentDictonary = ParseFieldRawStringToComponent(StringRaw, ModelSupport.ContentTypeInternal.Unknown);
            }
        }