Exemplo n.º 1
0
            public ValueType(PProfSampleValueType valueTypeItems, PProfBuilder builder)
            {
                Validate.NotNull(builder, nameof(builder));

                _typeInfo = builder.GetOrCreateStringInfo(valueTypeItems.Type ?? string.Empty);
                _unitInfo = builder.GetOrCreateStringInfo(valueTypeItems.Unit ?? string.Empty);
            }
Exemplo n.º 2
0
        internal PProfBuildSession(PProfBuilder owner, PProfBuildSessionState ownerBuildState)
        {
            Validate.NotNull(owner, nameof(owner));
            Validate.NotNull(ownerBuildState, nameof(ownerBuildState));

            _ownerBuildState = ownerBuildState;

            this.OwnerBuilder = owner;
            _profile          = new PProfProto.Profile();
            _lastSample       = null;
            this.SamplesCount = 0;
        }
Exemplo n.º 3
0
 internal SymbolMonikersConfigSettings(PProfBuilder ownerBuilder)
 {
     Validate.NotNull(ownerBuilder, nameof(ownerBuilder));
     _ownerBuilder = ownerBuilder;
 }